fix:处理group删除 子组件未刷新的问题 以及保存 文本 url以及列表保存不到group的问题

This commit is contained in:
zhangyu
2021-04-12 10:53:21 +08:00
parent 7417fb8726
commit af43b2d4cf
10 changed files with 29 additions and 13 deletions

View File

@@ -347,6 +347,9 @@ export default {
if (chartList[i].id === data.id) {
chartList.splice(i, 1)
}
if (chartList[i].type === 'group') {
chartList[i].children = chartList[i].children.filter((item) => item.id !== data.id)
}
// if(data.next != -1){
// if(chartList[i].id === data.next){
// nextChart = chartList[i]