From 3023ff5ace4c4f8711546bc519b59f1fcac97c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Fri, 5 Jun 2026 10:12:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF=E3=80=81?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20=E4=BF=AE=E5=A4=8DTab?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=EF=BC=9A=E5=9C=A8Tab=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=9B=BE=E8=A1=A8=E4=BA=8C=E6=AC=A1=E8=81=94?= =?UTF-8?q?=E5=8A=A8=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E6=B8=85=E9=99=A4?= =?UTF-8?q?=E8=81=94=E5=8A=A8=E8=AE=BE=E7=BD=AE=EF=BC=8C=E4=B8=8D=E5=AE=8C?= =?UTF-8?q?=E5=85=A8=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/data-visualization/dvMain.ts | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts index ab02af6ce7..0fe9a792ff 100644 --- a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts +++ b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts @@ -1052,28 +1052,32 @@ export const dvMainStore = defineStore('dataVisualization', { this.componentData[indexOuter] = element } else if (element.component === 'Group') { element.propValue?.forEach((groupItem, index) => { - this.trackFilterCursor( - groupItem, - checkQDList, - trackInfo, - preActiveComponentIds, - viewId, - customFilterInfo - ) - element.propValue[index] = groupItem - }) - } else if (element.component === 'DeTabs') { - element.propValue?.forEach(tabItem => { - tabItem.componentData?.forEach((tabComponent, index) => { + if (groupItem.id !== viewId) { this.trackFilterCursor( - tabComponent, + groupItem, checkQDList, trackInfo, preActiveComponentIds, viewId, customFilterInfo ) - tabItem.componentData[index] = tabComponent + element.propValue[index] = groupItem + } + }) + } else if (element.component === 'DeTabs') { + element.propValue?.forEach(tabItem => { + tabItem.componentData?.forEach((tabComponent, index) => { + if (tabComponent.id !== viewId) { + this.trackFilterCursor( + tabComponent, + checkQDList, + trackInfo, + preActiveComponentIds, + viewId, + customFilterInfo + ) + tabItem.componentData[index] = tabComponent + } }) }) }