文件上传组件新增类型

This commit is contained in:
RuoYi 2025-02-28 19:45:03 +08:00
parent 33e2eb7642
commit 3393757b8c

View File

@ -47,17 +47,17 @@ const props = defineProps({
//
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: {