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