mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 14:04:47 +08:00
Fix:开启性能模式后,修复先移动画布再清空节点数据后画布上的节点还存在的问题
This commit is contained in:
@@ -147,6 +147,9 @@ class Render {
|
||||
})
|
||||
// 性能模式
|
||||
const onViewDataChange = throttle(() => {
|
||||
if (!this.renderTree) {
|
||||
return
|
||||
}
|
||||
if (this.root) {
|
||||
this.mindMap.emit('node_tree_render_start')
|
||||
this.root.render(
|
||||
|
||||
Reference in New Issue
Block a user