左侧树菜单要展开,菜单里的子树默认收起,只有第一层子树展开

和他预期的结果的分毫不差,助力每一个梦想
This commit is contained in:
yanyizhou
2021-11-22 10:48:30 +08:00
parent 16934a0317
commit 73c4bdf9f4
4 changed files with 4 additions and 0 deletions
@@ -17,6 +17,7 @@
:indent="0"
:props="props"
:data="treeList"
default-expanded-keys="['64df1d5522bb49c09af2']"
highlight-current
@node-click="treeClick"
:filter-node-method="filterNode"
@@ -20,6 +20,7 @@
:indent="0"
:props="props"
:data="treeList"
default-expanded-keys="['22179d54d4e640098e30']"
highlight-current
@node-click="treeClick"
:filter-node-method="filterNode"
@@ -18,6 +18,7 @@
:indent="0"
:props="props"
:data="treeList"
default-expanded-keys="['64df1d5522bb49c09af6']"
highlight-current
@node-click="treeClick"
:filter-node-method="filterNode"
@@ -18,6 +18,7 @@
:indent="0"
:props="props"
:data="treeList"
default-expanded-keys="['22179d54d4e640098e29']"
highlight-current
@node-click="treeClick"
:filter-node-method="filterNode"