From 51e026118a887408c9db9c79f2d7c514336ea9df Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 4 Jun 2024 16:48:52 +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=A4=9A=E9=80=89command=E9=94=AE=E5=8F=AF?= =?UTF-8?q?=E8=83=BD=E4=B8=8D=E5=87=86=E7=A1=AE=E9=80=A0=E6=88=90=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E9=80=89=E6=8B=A9=E4=B8=8D=E5=87=86=E7=A1=AE=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RealTimeComponentList.vue | 473 ------------------ core/core-frontend/src/utils/DeShortcutKey.ts | 2 +- 2 files changed, 1 insertion(+), 474 deletions(-) delete mode 100644 core/core-frontend/src/components/data-visualization/RealTimeComponentList.vue diff --git a/core/core-frontend/src/components/data-visualization/RealTimeComponentList.vue b/core/core-frontend/src/components/data-visualization/RealTimeComponentList.vue deleted file mode 100644 index 54b85c0df7..0000000000 --- a/core/core-frontend/src/components/data-visualization/RealTimeComponentList.vue +++ /dev/null @@ -1,473 +0,0 @@ - - - - - - - diff --git a/core/core-frontend/src/utils/DeShortcutKey.ts b/core/core-frontend/src/utils/DeShortcutKey.ts index fae894ba77..f48c7c2746 100644 --- a/core/core-frontend/src/utils/DeShortcutKey.ts +++ b/core/core-frontend/src/utils/DeShortcutKey.ts @@ -101,7 +101,7 @@ let isShiftDown = false // 全局监听按键操作并执行相应命令 export function listenGlobalKeyDown() { window.onkeydown = e => { - if (!isInEditor.value || editMode.value === 'preview' || checkDialog()) return + if (editMode.value === 'preview' || checkDialog()) return const { keyCode } = e if (positionMoveKey[keyCode] && curComponent.value) { positionMoveKey[keyCode](keyCode)