mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
优化:收起所有节点后回到中心位置
This commit is contained in:
@@ -773,7 +773,9 @@ class Render {
|
||||
0,
|
||||
0
|
||||
)
|
||||
this.mindMap.render()
|
||||
this.mindMap.render(() => {
|
||||
this.mindMap.view.reset()
|
||||
})
|
||||
}
|
||||
|
||||
// 展开到指定层级
|
||||
|
||||
Reference in New Issue
Block a user