refactor: 仪表板视图过滤弹框,去掉搜索条件时无需关闭

This commit is contained in:
wangjiahao 2021-11-29 15:55:48 +08:00
parent 7cc5169ab7
commit 079f24d7c8

View File

@ -522,7 +522,8 @@ export default {
const stick = evt.target.closest('.el-icon-magic-stick')
const xuanfuanniu = evt.target.closest('.icon-xuanfuanniu')
const shujujuzhen = evt.target.closest('.icon-shujujuzhen')
if (!parent && !self && !stick && !xuanfuanniu && !shujujuzhen) {
const suffix = evt.target.closest('.el-input__suffix')
if (!parent && !self && !stick && !xuanfuanniu && !shujujuzhen&&!suffix) {
this.show = false
window.removeEventListener('click', this.closeSidebar)
this.showIndex = -1