优化设置主题、前进回退等操作的性能问题
This commit is contained in:
parent
c90ee9e892
commit
f8506cb75b
@ -13,6 +13,7 @@ class Base {
|
|||||||
this.draw = this.mindMap.draw
|
this.draw = this.mindMap.draw
|
||||||
// 根节点
|
// 根节点
|
||||||
this.root = null
|
this.root = null
|
||||||
|
// 保存所有uid和节点,用于复用
|
||||||
this.nodePool = {}
|
this.nodePool = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user