This commit is contained in:
parent
4412c918df
commit
a639e635cf
|
|
@ -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, // 上传文件计数
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue