✨ 分组添加实例数量标识
This commit is contained in:
parent
ccec3868bb
commit
1171d6e6cc
@ -44,17 +44,9 @@
|
|||||||
<el-collapse-item v-for="(hosts, groupName) in groupHostList" :key="groupName" :name="groupName">
|
<el-collapse-item v-for="(hosts, groupName) in groupHostList" :key="groupName" :name="groupName">
|
||||||
<template #title>
|
<template #title>
|
||||||
<div class="group_title">
|
<div class="group_title">
|
||||||
{{ groupName }}
|
{{ `${groupName}`+`${hosts.length ? `(${hosts.length})` : ''}` }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<!-- <HostCard
|
|
||||||
v-for="(item, index) in hosts"
|
|
||||||
:key="index"
|
|
||||||
:host-info="item"
|
|
||||||
:hidden-ip="hiddenIp"
|
|
||||||
@update-host="handleUpdateHost"
|
|
||||||
@update-list="handleUpdateList"
|
|
||||||
/> -->
|
|
||||||
<HostTable
|
<HostTable
|
||||||
ref="hostTableRefs"
|
ref="hostTableRefs"
|
||||||
:hosts="hosts"
|
:hosts="hosts"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user