fix attachment selector item label

This commit is contained in:
Timi
2026-10-26 14:12:09 +08:00
parent 83897a4a9c
commit 06969f981d
9 changed files with 12 additions and 38 deletions
+3 -5
View File
@@ -20,10 +20,7 @@
<t-cell title="状态" :note="getProductStatusText(product.status)" />
<t-cell title="备注" :note="Text.display(product.remark)"></t-cell>
<t-cell>
<attachment-selector :readonly="true"
:items="attachmentItemList"
title="附件列表"
/>
<attachment-selector :items="attachmentItemList" readonly />
</t-cell>
</t-cell-group>
<t-cell-group theme="card" v-entrance-transition>
@@ -108,10 +105,11 @@
<t-cell v-if="selectedSku.remark" title="备注" :note="Text.display(selectedSku.remark)" />
</t-cell-group>
<div class="media-wrap">
<attachment-selector :readonly="true"
<attachment-selector
v-if="skuPhotoItemList.length"
:items="skuPhotoItemList"
title="SKU 图片"
readonly
/>
</div>
<div class="unit">
@@ -90,10 +90,7 @@
<span></span>
</template>
<template #description>
<attachment-selector :readonly="true"
:items="photoItemList"
title="操作照片"
/>
<attachment-selector :items="photoItemList" title="操作照片" readonly />
</template>
</t-cell>
</t-cell-group>