This commit is contained in:
bb_pan 2025-12-01 09:35:27 +08:00
parent 4412c918df
commit a639e635cf
1 changed files with 2 additions and 2 deletions

View File

@ -328,7 +328,7 @@
/>
<img
v-else-if="isImageFile(file)"
src="@/assets/images/pdf.png"
:src="file.url"
class="file-type-icon"
alt="图片文件"
/>
@ -460,7 +460,7 @@ export default {
Authorization: 'Bearer ' + getToken()
},
fileSize: 5, // (MB)
fileType: ['doc', 'xls', 'pdf', 'jpg', 'jpeg', 'png'], //
fileType: ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'jpg', 'jpeg', 'png'], //
showTip: true, //
number: 0, //
}