优化:插入子节点时自动展开

This commit is contained in:
wanglin25
2022-10-11 18:48:52 +08:00
parent 87383498c8
commit 81f86ccb30

View File

@@ -446,6 +446,8 @@ class Render {
},
"children": []
})
// 插入子节点时自动展开子节点
node.nodeData.data.expand = true
if (node.isRoot) {
node.initRender = true
// this.mindMap.batchExecution.push('renderNode' + index, () => {