修改树加载默认展开值
This commit is contained in:
parent
4327590091
commit
f34f090dc0
|
@ -16,7 +16,7 @@
|
|||
v-if="orgTree.length"
|
||||
@select="handleClick"
|
||||
:defaultExpandAll="true"
|
||||
:expandedKeys="expandedKeys"
|
||||
:defaultExpandedKeys="expandedKeys"
|
||||
:replaceFields="replaceFields" />
|
||||
</div>
|
||||
<div v-else>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
v-if="orgTree.length"
|
||||
@select="handleClick"
|
||||
:defaultExpandAll="false"
|
||||
:expandedKeys="expandedKeys"
|
||||
:defaultExpandedKeys="expandedKeys"
|
||||
:defaultSelectedKeys="selectedKeys"
|
||||
:replaceFields="replaceFields" />
|
||||
</div>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
v-if="orgTree.length"
|
||||
@select="onSelect"
|
||||
:defaultExpandAll="false"
|
||||
:expandedKeys="expandedKeys"
|
||||
:defaultExpandedKeys="expandedKeys"
|
||||
:defaultSelectedKeys="selectedKeys"
|
||||
:replaceFields="replaceFields"
|
||||
>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue