Demo:修复公式侧边栏组件导致的侧边栏自动关闭问题
This commit is contained in:
parent
8c3d66eb3c
commit
20f67efd58
@ -89,7 +89,7 @@ export default {
|
|||||||
|
|
||||||
handleNodeActive(...args) {
|
handleNodeActive(...args) {
|
||||||
this.activeNodes = [...args[1]]
|
this.activeNodes = [...args[1]]
|
||||||
if (this.activeNodes.length <= 0) {
|
if (this.activeNodes.length <= 0 && this.activeSidebar === 'formulaSidebar') {
|
||||||
this.setActiveSidebar(null)
|
this.setActiveSidebar(null)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user