mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
优化:插入子节点时自动展开
This commit is contained in:
@@ -446,6 +446,8 @@ class Render {
|
||||
},
|
||||
"children": []
|
||||
})
|
||||
// 插入子节点时自动展开子节点
|
||||
node.nodeData.data.expand = true
|
||||
if (node.isRoot) {
|
||||
node.initRender = true
|
||||
// this.mindMap.batchExecution.push('renderNode' + index, () => {
|
||||
|
||||
Reference in New Issue
Block a user