From 77178e05e8ca8fba4ccb37338fe69807d361da86 Mon Sep 17 00:00:00 2001 From: kerwincui <164770707@qq.com> Date: Fri, 8 Apr 2022 11:24:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/components/ImageUpload/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue/src/components/ImageUpload/index.vue b/vue/src/components/ImageUpload/index.vue index b702a120..d927a2c3 100644 --- a/vue/src/components/ImageUpload/index.vue +++ b/vue/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: process.env.VUE_APP_BASE_API + "/iot/tool/download?fileName="+res.fileName }); this.$emit("input", this.listToString(this.fileList)); this.loading.close(); },