From a60aa76a071dabac668454d600a6646ddd39f30c Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 23 Sep 2024 14:59:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BF=AB=E6=8D=B7=E9=94=AE=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=A4=9A=E9=80=89=E5=8C=BA=E5=9F=9F=E4=BB=85=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=9C=80=E6=9C=89=E4=B8=80=E4=B8=AA=E7=BB=84=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E9=97=AE=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/utils/DeShortcutKey.ts b/core/core-frontend/src/utils/DeShortcutKey.ts index 13fcc990e7..dc6a7758bb 100644 --- a/core/core-frontend/src/utils/DeShortcutKey.ts +++ b/core/core-frontend/src/utils/DeShortcutKey.ts @@ -235,7 +235,7 @@ function preview() { } function deleteComponent() { - if (curComponent.value) { + if (curComponent.value && curComponent.value.component !== 'GroupArea') { const curInfo = getCurInfo() if (curInfo) { dvMainStore.deleteComponent(curInfo.index, curInfo.componentData)