From 28e9129fe1b72167409b8abd4b4b2bbea25ca8b3 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 28 Aug 2024 14:32:06 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):?= =?UTF-8?q?=20=E5=A4=9A=E9=80=89=E6=94=AF=E6=8C=81=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E5=88=86=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/data-visualization/RealTimeListTree.vue | 4 ++-- .../src/components/data-visualization/canvas/Shape.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue b/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue index 652cd0acb4..577ea402b0 100644 --- a/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue +++ b/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue @@ -39,7 +39,7 @@ const areaDataPush = component => { component.isShow && component.canvasId === 'canvas-main' && component.category !== 'hidden' && - !['Group', 'GroupArea', 'DeTabs'].includes(component.component) + !['GroupArea', 'DeTabs'].includes(component.component) ) { areaData.value.components.push(component) } @@ -75,7 +75,7 @@ const shiftDataPush = curClickIndex => { !component.isLock && component.isShow && component.category !== 'hidden' && - !['Group', 'GroupArea', 'DeTabs'].includes(component.component) + !['GroupArea', 'DeTabs'].includes(component.component) ) areaData.value.components.push(...shiftAreaComponents) dvMainStore.setCurComponent({ component: null, index: null }) diff --git a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue index 1c506234a6..1ef432c068 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue @@ -431,7 +431,7 @@ const areaDataPush = component => { !component.isLock && component.isShow && component.canvasId === 'canvas-main' && - !['Group', 'GroupArea', 'DeTabs'].includes(component.component) + !['GroupArea', 'DeTabs'].includes(component.component) ) { areaData.value.components.push(component) }