update: 分屏展示图标
This commit is contained in:
parent
9649dd9cbd
commit
19a0d366f0
|
@ -9,8 +9,12 @@
|
|||
:fieldNames="{ title: 'name', key: 'id' }"
|
||||
@select="onSelect"
|
||||
>
|
||||
<template #icon="{ key, selected }">
|
||||
<AIcon type="VideoCameraOutlined" class="online" />
|
||||
<template #icon="{ id, selected }">
|
||||
<AIcon
|
||||
type="VideoCameraOutlined"
|
||||
class="online"
|
||||
v-if="!treeData.find((f: any) => f.id === id)"
|
||||
/>
|
||||
</template>
|
||||
</a-tree>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue