Fix:修复初始渲染时概要会重叠的问题

This commit is contained in:
街角小林
2024-12-26 17:52:54 +08:00
parent f52fd2ff48
commit 4a5501f7a3

View File

@@ -160,6 +160,8 @@ class MindMapNode {
}
// 初始化
this.getSize()
// 初始需要计算一下概要节点的大小,否则计算布局时获取不到概要的大小
this.updateGeneralization()
this.initDragHandle()
}