style: 修复文件管理&用例缺陷附件json&未知文件icon颜色
This commit is contained in:
parent
4b7f338a5b
commit
dfab85c92f
|
@ -31,12 +31,7 @@
|
||||||
<template #avatar>
|
<template #avatar>
|
||||||
<a-avatar shape="square" class="rounded-[var(--border-radius-mini)] bg-[var(--color-text-n9)]">
|
<a-avatar shape="square" class="rounded-[var(--border-radius-mini)] bg-[var(--color-text-n9)]">
|
||||||
<a-image v-if="item.file.type.includes('image/')" :src="item.url" width="40" height="40" hide-footer />
|
<a-image v-if="item.file.type.includes('image/')" :src="item.url" width="40" height="40" hide-footer />
|
||||||
<MsIcon
|
<MsIcon v-else :type="getFileIcon(item)" size="24" :class="'text-[var(--color-text-4)]'" />
|
||||||
v-else
|
|
||||||
:type="getFileIcon(item)"
|
|
||||||
size="24"
|
|
||||||
:class="item.status === UploadStatus.init ? 'text-[var(--color-text-4)]' : ''"
|
|
||||||
/>
|
|
||||||
</a-avatar>
|
</a-avatar>
|
||||||
</template>
|
</template>
|
||||||
<template #title>
|
<template #title>
|
||||||
|
|
Loading…
Reference in New Issue