mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 11:21:44 +08:00
fix(仪表板、数据大屏): 修复Tab组件:在Tab组件中的图表二次联动后,点击清除联动设置,不完全生效问题
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user