富文本上传图片限制改为10m

This commit is contained in:
zjf committed 2026-08-31 11:32:10 +08:00
1 parent 743a14c6c6
commit ebc9cc92ce
1 file changed
+2
+2
View File
@@ -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);
},