From 76d7f240eb7b639068ead53c14fa33cbd89419bc Mon Sep 17 00:00:00 2001 From: yangzhe Date: Wed, 30 Apr 2025 09:52:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/list.vue | 2 +- pages/index/uploadPhoto.vue | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/index/list.vue b/pages/index/list.vue index 8ff8562..16685d4 100644 --- a/pages/index/list.vue +++ b/pages/index/list.vue @@ -239,7 +239,7 @@ export default { success: function (res) {}, }); - this.form.url = data[0].path; + this.form.url = "http://sl.vrgon.com:8005/uploads/" + data[0].path; }, // 删除图片 diff --git a/pages/index/uploadPhoto.vue b/pages/index/uploadPhoto.vue index 090074e..003052b 100644 --- a/pages/index/uploadPhoto.vue +++ b/pages/index/uploadPhoto.vue @@ -191,7 +191,10 @@ export default { // success: function (res) {}, // }); - this.imageList = [...this.imageList, data[0].path]; + this.imageList = [ + ...this.imageList, + "http://sl.vrgon.com:8005/uploads/" + data[0].path, + ]; }, // 上传图片