diff --git a/src/components/ma-upload/components/chunk-upload.vue b/src/components/ma-upload/components/chunk-upload.vue index 8549332a..9e1c3022 100644 --- a/src/components/ma-upload/components/chunk-upload.vue +++ b/src/components/ma-upload/components/chunk-upload.vue @@ -16,7 +16,7 @@ class="rounded text-center p-7 w-full" >
- +
{{ config.title === 'buttonText' ? $t('upload.buttonText') : config.title }}
@@ -27,7 +27,7 @@ - +
+ 上传中... + + + {{ currentItem.name }} + + - + -
- {{ currentItem.url }} -
@@ -69,19 +77,26 @@ size="mini" class="progress" /> + 上传中... + + + {{ file.name }} + + - + -
- {{ file.url }} -
diff --git a/src/components/ma-upload/components/file-upload.vue b/src/components/ma-upload/components/file-upload.vue index 21f155c6..683c2f29 100644 --- a/src/components/ma-upload/components/file-upload.vue +++ b/src/components/ma-upload/components/file-upload.vue @@ -17,9 +17,9 @@ class="rounded text-center p-7 w-full" >
- +
- {{ config.title === 'buttonText' ? $t('upload.buttonText') : config.title }} + {{ config.title === 'buttonText' ? $t('upload.buttonText') : config.title }}
将文件拖到此处,或点击上传
@@ -33,17 +33,24 @@ class="file-list mt-2" v-if="! config.multiple && currentItem?.url && config.showList" > + + {{ currentItem.name }} + + - + -
- {{ currentItem.url }} -
@@ -52,17 +59,23 @@ class="file-list mt-2" v-for="(file, idx) in showFileList" :key="idx" > + + {{ file.name }} + + - + -
- {{ file.url }} -