From a04706d57355f8469cfd86f012731edf55cf00e4 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: Tue, 20 Jan 2026 10:40:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BD=93=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E7=BB=84=E4=BB=B6=E5=92=8C=E5=9B=BE=E8=A1=A8=E7=BB=84?= =?UTF-8?q?=E5=90=88=E5=90=8E=E6=B7=BB=E5=8A=A0=E5=88=B0tab=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=EF=BC=8C=E5=A4=96=E9=83=A8=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=B8=AD=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6=E4=B8=8D=E5=8F=AF?= =?UTF-8?q?=E8=A7=81=E9=97=AE=E9=A2=98=20(#17832)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../visualization/OuterParamsSet.vue | 6 ++++ .../modules/data-visualization/dvMain.ts | 32 +++++++++++++------ 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/core/core-frontend/src/components/visualization/OuterParamsSet.vue b/core/core-frontend/src/components/visualization/OuterParamsSet.vue index 0721c1be0b..d8c9d06b10 100644 --- a/core/core-frontend/src/components/visualization/OuterParamsSet.vue +++ b/core/core-frontend/src/components/visualization/OuterParamsSet.vue @@ -568,6 +568,12 @@ const initParams = async () => { tabItem.componentData?.forEach(tabComponent => { if (tabComponent.component === 'VQuery') { state.baseFilterInfo.push(tabComponent) + } else if (tabComponent.component === 'Group') { + tabComponent.propValue.forEach(groupItem => { + if (groupItem.component === 'VQuery') { + state.baseFilterInfo.push(groupItem) + } + }) } }) }) 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 cf2b9ed1b6..4d288ec52c 100644 --- a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts +++ b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts @@ -1171,15 +1171,29 @@ export const dvMainStore = defineStore('dataVisualization', { } else if (element.component === 'DeTabs') { element.propValue?.forEach(tabItem => { tabItem.componentData?.forEach((tabComponent, index) => { - this.trackOuterFilterCursor( - tabComponent, - params, - preActiveComponentIds, - trackInfo, - source, - paramsVersion - ) - tabItem.componentData[index] = tabComponent + if (['UserView', 'VQuery'].includes(tabComponent.component)) { + this.trackOuterFilterCursor( + tabComponent, + params, + preActiveComponentIds, + trackInfo, + source, + paramsVersion + ) + tabItem.componentData[index] = tabComponent + } else if (tabComponent.component === 'Group') { + tabComponent.propValue?.forEach((groupItem, index) => { + this.trackOuterFilterCursor( + groupItem, + params, + preActiveComponentIds, + trackInfo, + source, + paramsVersion + ) + tabComponent.propValue[index] = groupItem + }) + } }) }) }