From 23a59de2182af57da28a1524c2e9f10bd31c069a Mon Sep 17 00:00:00 2001 From: Cony Date: Fri, 17 Dec 2021 12:13:10 +0000 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-ui/src/components/ImageUpload/in?= =?UTF-8?q?dex.vue.=20=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E9=A2=84=E8=A7=88=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/components/ImageUpload/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/components/ImageUpload/index.vue b/ruoyi-ui/src/components/ImageUpload/index.vue index 978576f8f..c519ad3a3 100644 --- a/ruoyi-ui/src/components/ImageUpload/index.vue +++ b/ruoyi-ui/src/components/ImageUpload/index.vue @@ -124,7 +124,7 @@ export default { }, // 上传成功回调 handleUploadSuccess(res) { - this.fileList.push({ name: res.fileName, url: res.fileName }); + this.fileList.push({ name: res.fileName, url: res.url }); this.$emit("input", this.listToString(this.fileList)); this.loading.close(); },