Merge pull request #1312 from dataease/pr@dev@refactor_panel-speed

refactor: 仪表板视图过滤弹框,去掉搜索条件时无需关闭
This commit is contained in:
王嘉豪
2021-11-29 15:56:38 +08:00
committed by GitHub

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