mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 10:27:44 +08:00
Demo:修复公式侧边栏组件导致的侧边栏自动关闭问题
This commit is contained in:
parent
8c3d66eb3c
commit
20f67efd58
@ -89,7 +89,7 @@ export default {
|
||||
|
||||
handleNodeActive(...args) {
|
||||
this.activeNodes = [...args[1]]
|
||||
if (this.activeNodes.length <= 0) {
|
||||
if (this.activeNodes.length <= 0 && this.activeSidebar === 'formulaSidebar') {
|
||||
this.setActiveSidebar(null)
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user