From 04ec28d2cba682e1640073c15301fab054f74e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BD=AA?= Date: Wed, 30 Apr 2025 11:35:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A8=E5=93=B2=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/uploadPhoto.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pages/index/uploadPhoto.vue b/pages/index/uploadPhoto.vue index dbaa25d..9f88e92 100644 --- a/pages/index/uploadPhoto.vue +++ b/pages/index/uploadPhoto.vue @@ -236,16 +236,23 @@ export default { // if (!res.succeed) return; // params.picturesDto = res.data; + + params.picturesDto = this.imageList; uni.showModal({ title: "查看imageList", - content: this.imageList, + content: (JSON.stringify(params)), showCancel: true, success: function (res) {}, }); - - params.picturesDto = this.imageList; - + // return const res2 = await UploadArea(params); + uni.showModal({ + title: "查看imageList", + content: (JSON.stringify(res2)), + showCancel: true, + success: function (res) {}, + }); + return if (res2.succeed) { // 成功的处理 uni.showToast({ title: "上传成功", icon: "success", duration: 1500 });