[Web] Optimized type display icon

This commit is contained in:
qianmoQ 2023-03-07 23:07:04 +08:00
parent b6fa2e2563
commit 96987f4273

View File

@ -12,7 +12,9 @@
<Ellipsis :text="row.name" :length="8" tooltip transfer/>
</template>
<template #type="{ row }">
<Avatar :src="'/static/images/plugin/' + row.type + '.png'" size="small" />
<Tooltip transfer :content="row.type">
<Avatar :src="'/static/images/plugin/' + row.type + '.png'" size="small" />
</Tooltip>
</template>
<template #host="{ row }">
<Ellipsis :text="row.host" :length="8" tooltip transfer/>