From 046af7c22e19e2a79626e2d5e9abc7a484a2aa8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BD=AA?= Date: Wed, 30 Apr 2025 14:35:30 +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/cleanPlan.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/index/cleanPlan.vue b/pages/index/cleanPlan.vue index 22930f5..0aad28c 100644 --- a/pages/index/cleanPlan.vue +++ b/pages/index/cleanPlan.vue @@ -141,7 +141,8 @@ export default { dataInfo: { planName: '', areas: [] - } + }, + areaRes:{} } }, @@ -195,6 +196,7 @@ export default { } const res = await GetAwaitUploadAreaApi(req) console.log(res, 'res---') + this.areaRes = res uni.showModal({ title: "开发调试查看", content: JSON.stringify(res) || "未传入参数 initFn", @@ -222,9 +224,9 @@ export default { console.log('%c%s', 'color:red', '上传图片') const params = { - planName: this.dataInfo.planName, - id: this.dataInfo.areas[this.dataInfo.areas.length - 1].id, - aeraNmae: this.dataInfo.areas[this.dataInfo.areas.length - 1].aeraNmae + planName: this.areaRes.planName, + id: this.areaRes.id, + aeraNmae: this.areaRes.name } console.log(params)