Merge branch 'master' of https://gitea.zianxin.com/zax/biz-pc-cloud-zax
This commit is contained in:
commit
7f1e02f84f
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