mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(数据大屏): 修复在点选组件后组合部分情况可能会删除选中组件问题
This commit is contained in:
@@ -1362,7 +1362,10 @@ const groupAreaChange = (showArea, style?) => {
|
||||
groupArea.style.height = style.height
|
||||
dvMainStore.addComponent({ component: groupArea, index: undefined })
|
||||
} else {
|
||||
dvMainStore.deleteComponentById(100000001)
|
||||
const groupAreaHis = componentData.value.filter(ele => ele.id === 100000001)
|
||||
if (groupAreaHis && groupAreaHis.length > 0) {
|
||||
dvMainStore.deleteComponentById(100000001)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user