FIX:修复创建节点时重复的函数调用,优化性能
This commit is contained in:
parent
3f9da8940f
commit
d834b76d42
@ -51,7 +51,6 @@ class Base {
|
|||||||
draw: this.draw,
|
draw: this.draw,
|
||||||
layerIndex
|
layerIndex
|
||||||
})
|
})
|
||||||
newNode.getSize()
|
|
||||||
// 数据关联实际节点
|
// 数据关联实际节点
|
||||||
data._node = newNode
|
data._node = newNode
|
||||||
if (data.data.isActive) {
|
if (data.data.isActive) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user