forms/imagePicker/CImagePicker.vue
@@ -274,10 +274,20 @@ formData: { ...params }, timeout: 30 * 1000, success(res) { const res2 = typeof res.data === 'string' ? JSON.parse(res.data) : res.data; let res2; try { res2 = typeof res.data === 'string' ? JSON.parse(res.data) : res.data; } catch (err) { reject({ ...requestFile, response: res, message: '上传图片异常!', }); return; } // 上传成功 if (res2.state.code === 2000) { const imgUrl = $fetchCommon.transImgPath(