We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if(e.target.tagName !== 'BODY') return 这个地方不准确,如果有其他事件,这个抓不到
The text was updated successfully, but these errors were encountered:
/** * body点击隐藏级联面板 */
EoCascader.prototype.bindBodyClick = function bindCascaderClick(e) { // if(e.target.tagName !== "DIV") return var target = e.target || e.srcElement; // while(target){ if (target.id && target.id == "cascader-wrap"){ //循环判断至根节点,防止点击的是#cascader-wrap和它的子元素 return; } target = target.parentNode; } this.panelShowState = false this.ele.className = 'cascader-wrap' }
Sorry, something went wrong.
No branches or pull requests
if(e.target.tagName !== 'BODY') return
这个地方不准确,如果有其他事件,这个抓不到
The text was updated successfully, but these errors were encountered: