富文本上传图片限制改为10m
This commit is contained in:
1 parent
743a14c6c6
commit
ebc9cc92ce
1 file changed
+2
@@ -76,6 +76,8 @@ const uploadAttr = reactive({
|
||||
fieldName: 'file',
|
||||
server: proxy.baseURL + props.uploadFileUrl,
|
||||
headers: headers,
|
||||
// wangEditor 默认图片上限 2MB,业务侧放宽到 10MB
|
||||
maxFileSize: 10 * 1024 * 1024,
|
||||
customInsert(res, insertFn) {
|
||||
insertFn(proxy.baseURL + res.data.url);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user