Commit 8aa3e397 by xinla

图片上传宽高限制1024

1 parent 284f1701
......@@ -44,7 +44,7 @@ export default {
// 图片的宽高像素限制 [width(number), height(number)],默认null不限制
maxImgPx: {
type: Array,
default: null, // () => [100, 100]
default: [1024, 1024], // () => [100, 100]
},
// 允许上传的文件格式后缀名 eg:["jpg", "png"],['*']为不限制,各类型有默认限制 参见: formatDefault
format: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!