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