This commit is contained in:
dzc committed 2026-08-31 15:02:58 +08:00
commit 7f1e02f84f
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);
},