Skip to content

Commit 9d95167

Browse files
committed
fix: [file-upload] 修复文件列表字体样式问题
1 parent 27216a9 commit 9d95167

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/vue/src/upload-list/src/mobile-first.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
>
6767
<div class="flex" data-tag="tiny-upload-list-name">
6868
<div
69-
class="flex-1 sm:mr-6 text-sm sm:text-xs leading-5.5 text-color-text-primary overflow-hidden text-ellipsis whitespace-nowrap"
69+
class="flex-1 sm:mr-6 text-xs sm:text-sm leading-5.5 text-color-text-primary overflow-hidden text-ellipsis whitespace-nowrap"
7070
>
7171
<span :title="file.name">{{
7272
file.name
@@ -115,10 +115,10 @@
115115
t('ui.uploadList.uploadFailedAndReupload')
116116
}}</span>
117117
</span>
118-
<span v-else-if="~['uploading'].indexOf(file.status)" class="text-color-text-placeholder">{{
118+
<span v-else-if="~['uploading'].indexOf(file.status)" class="text-color-text-secondary">{{
119119
formatFileSize((file.size * file.percentage) / 100) + '/' + formatFileSize(file.size)
120120
}}</span>
121-
<span v-else class="text-color-text-placeholder">{{ formatFileSize(file.size) }}</span>
121+
<span v-else class="text-color-text-secondary">{{ formatFileSize(file.size) }}</span>
122122
</span>
123123
<span class="flex-1 ml-2 overflow-hidden text-ellipsis whitespace-nowrap text-right text-color-none">
124124
<slot name="assist-content" :file="file"></slot>

0 commit comments

Comments
 (0)