mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-28 13:57:48 +08:00
FIX:修复创建节点时重复的函数调用,优化性能
This commit is contained in:
parent
3f9da8940f
commit
d834b76d42
@ -51,7 +51,6 @@ class Base {
|
||||
draw: this.draw,
|
||||
layerIndex
|
||||
})
|
||||
newNode.getSize()
|
||||
// 数据关联实际节点
|
||||
data._node = newNode
|
||||
if (data.data.isActive) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user