mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
Demo:修复公式侧边栏组件导致的侧边栏自动关闭问题
This commit is contained in:
@@ -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)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user