From c7f4388739543ede4893b73e6f9454c970d6a1b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=90=E5=BF=83=E6=B9=96?= <jialna@qq.com> Date: Wed, 11 Aug 2021 15:59:16 +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=E4=B8=8A=E4=BC=A0=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=B1=9E=E6=80=A7=E5=AD=97=E6=AE=B5=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= 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 4dafd6dc6..2b4b4d7cd 100644 --- a/ruoyi-ui/src/components/ImageUpload/index.vue +++ b/ruoyi-ui/src/components/ImageUpload/index.vue @@ -122,7 +122,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(); },