fix(仪表板): 修复被联动图表被删除后,联动配置没有清理问题

This commit is contained in:
wangjiahao
2024-04-28 17:36:00 +08:00
parent 3d2395bccb
commit 93d4fd8f66
4 changed files with 28 additions and 3 deletions

View File

@@ -867,6 +867,7 @@ function removeItem(index) {
})
}
componentData.value.splice(index, 1)
dvMainStore.removeLinkageInfo(item['id'])
if (!!checkedFields.length) {
Array.from(new Set(checkedFields)).forEach(ele => {
emitter.emit(`query-data-${ele}`)