Browse Source

文件上传组件新增类型

master
RuoYi 7 months ago
parent
commit
fabddc518a
  1. 6
      ruoyi-ui/src/components/FileUpload/index.vue

6
ruoyi-ui/src/components/FileUpload/index.vue

@ -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: {

Loading…
Cancel
Save