manager/src/components/editor/upload-image.vue
@@ -39,7 +39,7 @@ ref="upload" :action="uploadFileUrl" :format="['jpg', 'jpeg', 'png']" :headers="{ ...accessToken }" :max-size="10240" :on-exceeded-size="handleMaxSize" :on-format-error="handleFormatError" @@ -121,7 +121,8 @@ // sku图片上传成功 handleSuccessGoodsPicture(res, file) { if (file.response) { file.url = file.response.result; file.url = file.response.data.url; file.fileKey = file.response.data.fileKey this.images.push(file); } },