Fix:开启性能模式后,修复先移动画布再清空节点数据后画布上的节点还存在的问题

This commit is contained in:
街角小林
2025-03-05 18:08:19 +08:00
parent 53fecc062f
commit 469f5b26cd

View File

@@ -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(