From 079f24d7c8b49bcf42be832a9173de93b35db4c6 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 29 Nov 2021 15:55:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BB=AA=E8=A1=A8=E6=9D=BF?= =?UTF-8?q?=E8=A7=86=E5=9B=BE=E8=BF=87=E6=BB=A4=E5=BC=B9=E6=A1=86=EF=BC=8C?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=E6=97=A0=E9=9C=80=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/panel/edit/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/panel/edit/index.vue b/frontend/src/views/panel/edit/index.vue index d47f9db39d..77108fb9a2 100644 --- a/frontend/src/views/panel/edit/index.vue +++ b/frontend/src/views/panel/edit/index.vue @@ -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