From 24e8cc7c84095ce76253607b4c99809f47e9bd76 Mon Sep 17 00:00:00 2001 From: yangzhe Date: Wed, 30 Apr 2025 09:41:00 +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 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index/list.vue b/pages/index/list.vue index aa8d79b..086fd18 100644 --- a/pages/index/list.vue +++ b/pages/index/list.vue @@ -239,7 +239,7 @@ export default { // success: function (res) {}, // }); - this.form.url = data.path; + this.form.url = data[0].path; }, // 删除图片 diff --git a/pages/index/uploadPhoto.vue b/pages/index/uploadPhoto.vue index e94c311..090074e 100644 --- a/pages/index/uploadPhoto.vue +++ b/pages/index/uploadPhoto.vue @@ -191,7 +191,7 @@ export default { // success: function (res) {}, // }); - this.imageList = [...this.imageList, data.path]; + this.imageList = [...this.imageList, data[0].path]; }, // 上传图片