修改树加载默认展开值

This commit is contained in:
QuAoLi 2022-02-28 10:53:46 +08:00
parent 4327590091
commit f34f090dc0
5 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@
v-if="orgTree.length"
@select="handleClick"
:defaultExpandAll="true"
:expandedKeys="expandedKeys"
:defaultExpandedKeys="expandedKeys"
:replaceFields="replaceFields" />
</div>
<div v-else>

View File

@ -12,7 +12,7 @@
v-if="orgTree.length"
@select="handleClick"
:defaultExpandAll="false"
:expandedKeys="expandedKeys"
:defaultExpandedKeys="expandedKeys"
:defaultSelectedKeys="selectedKeys"
:replaceFields="replaceFields" />
</div>
@ -60,7 +60,7 @@
v-if="orgTree.length"
@select="handleClick"
:defaultExpandAll="true"
:expandedKeys="expandedKeys"
:defaultExpandedKeys="expandedKeys"
:defaultSelectedKeys="selectedKeys"
:replaceFields="replaceFields" />
</div>

View File

@ -10,7 +10,7 @@
v-if="orgTree.length"
@select="handleClick"
:defaultExpandAll="false"
:expandedKeys="expandedKeys"
:defaultExpandedKeys="expandedKeys"
:defaultSelectedKeys="selectedKeys"
:replaceFields="replaceFields" />
</div>

View File

@ -13,7 +13,7 @@
v-if="orgTree.length"
@select="onSelect"
:defaultExpandAll="false"
:expandedKeys="expandedKeys"
:defaultExpandedKeys="expandedKeys"
:defaultSelectedKeys="selectedKeys"
:replaceFields="replaceFields"
>

View File

@ -15,7 +15,7 @@
v-if="orgTree.length"
@select="onSelect"
:defaultExpandAll="false"
:expandedKeys="expandedKeys"
:defaultExpandedKeys="expandedKeys"
:replaceFields="replaceFields">
<a-icon slot="switcherIcon" type="down" />
</a-tree>