From 61d6057fa4c5142ea4e778c28073aa32b6efd913 Mon Sep 17 00:00:00 2001 From: yuh Date: Tue, 3 Jan 2023 20:13:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A3=81=E5=89=AA=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=B8=8EuploadModal=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=EF=BC=9Aurl=20(#2482)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Cropper/src/CopperModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Cropper/src/CopperModal.vue b/src/components/Cropper/src/CopperModal.vue index 2ec7f4fd0..004828313 100644 --- a/src/components/Cropper/src/CopperModal.vue +++ b/src/components/Cropper/src/CopperModal.vue @@ -186,7 +186,7 @@ try { setModalProps({ confirmLoading: true }); const result = await uploadApi({ name: 'file', file: blob, filename }); - emit('uploadSuccess', { source: previewSource.value, data: result.data }); + emit('uploadSuccess', { source: previewSource.value, data: result.url }); closeModal(); } finally { setModalProps({ confirmLoading: false });