优化:插入子节点时自动展开
This commit is contained in:
parent
352711c871
commit
e53c6cd559
@ -446,6 +446,8 @@ class Render {
|
|||||||
},
|
},
|
||||||
"children": []
|
"children": []
|
||||||
})
|
})
|
||||||
|
// 插入子节点时自动展开子节点
|
||||||
|
node.nodeData.data.expand = true
|
||||||
if (node.isRoot) {
|
if (node.isRoot) {
|
||||||
node.initRender = true
|
node.initRender = true
|
||||||
// this.mindMap.batchExecution.push('renderNode' + index, () => {
|
// this.mindMap.batchExecution.push('renderNode' + index, () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user