文件上传组件新增类型

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: { limit: {
type: Number, type: Number,
default: 5, default: 5
}, },
// (MB) // (MB)
fileSize: { fileSize: {
type: Number, type: Number,
default: 5, default: 5
}, },
// , ['png', 'jpg', 'jpeg'] // , ['png', 'jpg', 'jpeg']
fileType: { fileType: {
type: Array, type: Array,
default: () => ["doc", "xls", "ppt", "txt", "pdf"], default: () => ["doc", "docx", "xls", "xlsx", "ppt", "pptx", "txt", "pdf"]
}, },
// //
isShowTip: { isShowTip: {