From 72ca5dc961166d75533cf6194f6a18538dbe25ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=AC=E9=A3=8E?= <1770963469@qq.com> Date: Thu, 3 Dec 2020 19:05:26 +0800 Subject: [PATCH] Update image.vue --- web/src/components/upload/image.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/upload/image.vue b/web/src/components/upload/image.vue index 6801dc22..47479df5 100644 --- a/web/src/components/upload/image.vue +++ b/web/src/components/upload/image.vue @@ -19,7 +19,7 @@ :before-upload="beforeImageUpload" :multiple="false" > - + @@ -70,7 +70,7 @@ export default { // this.imageUrl = URL.createObjectURL(file.raw); const { data } = res; if (data.file) { - this.$emit("change", this.path + data.file.url); + this.$emit("change", data.file.url); } }, }, -- GitLab