a-tree-select
<template #title="title">
<div>
<svg-icon name="circle"
:style="title.status===true?{color:'#06EB00'}:{color:'#808080'}">
</svg-icon>
<span class="labelText">
{{title.label}}
<span class="statusText">
{{title.status===true?'在线':'离线'}}
</span>
</span>
</div>
</template>
默认是plus-square,图标,自己按需改
<a-tree
:showLine="false"
style="margin-left:17px"
v-if="treeData1.length"
:autoExpandParent="autoExpandParent"
:defaultExpandedKeys=""
:defaultSelectedKeys=""
@select=""
:treeData=""
@load="treeloaded"
> <a-icon slot="switcherIcon" type="down"/>
</a-tree>