文件上传组件新增类型

pull/993/head
RuoYi 2025-02-28 19:44:23 +08:00
parent 50e1a727d4
commit 896c0a23de
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: {