思路:把点击能够展开下拉框得某些元素和其他元素比较
//点击可展开下拉框得一些元素
let item = [$('.ipItem')[0],$('.ip')[0],$('.myCanvas')[0]];
$(document).on('click',(e)=>{
e = e || window.event;
let t = e.target || e.srcElement;
if (!item.includes(t)) {
this.actions.hideIpSelect();
}
})