优化文件上传

This commit is contained in:
不做码农
2022-03-26 20:23:47 +08:00
parent 494ccdbb88
commit 79f57c7ea5
9 changed files with 146 additions and 98 deletions

View File

@@ -52,7 +52,7 @@ export default {
// 文件类型, 例如['png', 'jpg', 'jpeg']
fileType: {
type: Array,
default: () => ['doc', 'xls', 'ppt', 'txt', 'pdf', 'svga', 'json']
default: () => ['doc', 'xls', 'ppt', 'txt', 'pdf', 'json']
},
// 是否显示提示
isShowTip: {