左侧树菜单要展开,菜单里的子树默认收起

This commit is contained in:
yanyizhou
2021-11-22 09:58:57 +08:00
parent 593f367692
commit 16934a0317
5 changed files with 5 additions and 8 deletions
@@ -23,7 +23,6 @@
highlight-current
@node-click="treeClick"
:filter-node-method="filterNode"
default-expand-all
:expand-on-click-node="false">
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
<span :class="data.children.length !== 0 ? 'is-show' : 'is-leaf-none'"></span>
@@ -1961,7 +1960,7 @@ export default {
creationTime: ''
},
removeOneId: '',
sideClose: true, // 边栏收展状态
sideClose: false, // 边栏收展状态
twoOptions: [],
threeOptions: [],
orgData: [],