Demo:修复公式侧边栏组件导致的侧边栏自动关闭问题

This commit is contained in:
wanglin2
2023-09-27 16:44:29 +08:00
parent 8c3d66eb3c
commit 20f67efd58

View File

@@ -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)
}
},