forked from github/dataease
fix(数据大屏): 修复在点选组件后组合部分情况可能会删除选中组件问题
This commit is contained in:
parent
70565335c2
commit
55698cdcc8
@ -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)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user