From 9f7b52e81c7d06a290520834febfe21aeacf021c Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期三, 30 七月 2025 17:19:30 +0800 Subject: [PATCH] 商品,视频,大健康,厨神二维码 --- manager/src/components/editor/upload-image.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manager/src/components/editor/upload-image.vue b/manager/src/components/editor/upload-image.vue index 071c73a..7bd329f 100644 --- a/manager/src/components/editor/upload-image.vue +++ b/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); } }, -- Gitblit v1.8.0