From dbca47fcef4d7e0a9ac1df83da0c8a11f5b246a3 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 8 Apr 2025 20:47:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=A8=A1=E6=9D=BF=E5=BA=94=E7=94=A8=E5=90=8E?= =?UTF-8?q?=E5=BF=AB=E6=8D=B7=E9=94=AE=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/DeShortcutKey.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/utils/DeShortcutKey.ts b/core/core-frontend/src/utils/DeShortcutKey.ts index a1683ad07c..8aa981380a 100644 --- a/core/core-frontend/src/utils/DeShortcutKey.ts +++ b/core/core-frontend/src/utils/DeShortcutKey.ts @@ -88,7 +88,10 @@ const checkDialog = () => { } }) document.querySelectorAll('.ed-popper').forEach(element => { - if (window.getComputedStyle(element).getPropertyValue('display') != 'none') { + if ( + !element.classList?.contains('template-popper-tips') && + window.getComputedStyle(element).getPropertyValue('display') != 'none' + ) { haveDialog = true } })