mirror of
https://github.com/dataease/dataease.git
synced 2026-05-22 13:30:19 +08:00
fix(仪表板、数据大屏): 修复tab 组件拖入图表,图表会消失问题 #16145
This commit is contained in:
@@ -935,7 +935,7 @@ function removeItem(index) {
|
||||
dvMainStore.removeLinkageInfo(item['id'])
|
||||
if (isMainCanvas(canvasId.value)) {
|
||||
// 主画布中存在隐藏组件 直接从原始componentData中进行删除
|
||||
dvMainStore.deleteComponentById(item.id)
|
||||
dvMainStore.deleteComponentById(item.id, undefined, false)
|
||||
} else {
|
||||
componentData.value.splice(index, 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user