文件上传组件新增类型

This commit is contained in:
RuoYi 2025-02-28 19:36:25 +08:00
parent ca61b6c68d
commit fabddc518a
1 changed files with 3 additions and 3 deletions

View File

@ -51,17 +51,17 @@ export default {
//
limit: {
type: Number,
default: 5,
default: 5
},
// (MB)
fileSize: {
type: Number,
default: 5,
default: 5
},
// , ['png', 'jpg', 'jpeg']
fileType: {
type: Array,
default: () => ["doc", "xls", "ppt", "txt", "pdf"],
default: () => ["doc", "docx", "xls", "xlsx", "ppt", "pptx", "txt", "pdf"]
},
//
isShowTip: {