From b09995677bf54c1e64b8a0a404d434245baedfbd Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 18 Dec 2024 17:16:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96tab=E5=92=8C=E5=88=86=E7=BB=84=E7=BB=84?= =?UTF-8?q?=E5=90=88=E5=9B=BE=E5=B1=82=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data-visualization/RealTimeGroup.vue | 33 +++++++++++++++++-- .../data-visualization/RealTimeTab.vue | 1 + .../visualization/CanvasCacheDialog.vue | 4 +-- .../custom-component/group/GroupPreview.vue | 1 + 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/components/data-visualization/RealTimeGroup.vue b/core/core-frontend/src/components/data-visualization/RealTimeGroup.vue index 585f277396..d20476762b 100644 --- a/core/core-frontend/src/components/data-visualization/RealTimeGroup.vue +++ b/core/core-frontend/src/components/data-visualization/RealTimeGroup.vue @@ -90,6 +90,11 @@ const { areaData } = storeToRefs(composeStore) const { curComponent, canvasViewInfo } = storeToRefs(dvMainStore) const props = defineProps({ + tabPosition: { + type: String, + required: false, + default: 'main' + }, componentData: [] }) @@ -306,6 +311,7 @@ const expandClick = component => { class="component-item" :class="{ 'container-item-not-show': !getComponent(index)?.isShow, + 'component-item-group-tab': tabPosition === 'groupTab', activated: (curComponent && curComponent?.id === getComponent(index)?.id) || areaData.components.includes(getComponent(index)) @@ -314,7 +320,7 @@ const expandClick = component => { >