From 5be32acd1b6d4d54ac2f9d2f0addec1e1d1a8e37 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Thu, 28 Aug 2025 17:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E4=B8=AD=E7=9A=84=E5=BB=BA?= =?UTF-8?q?=E5=88=B6=E7=82=B9=E5=87=BB=E8=AF=A6=E7=BB=86=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E6=9C=AA=E6=9D=A5=E8=A7=84=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/future/future.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/future/future.vue b/pages/future/future.vue index 3214ebf..2fdd0c7 100644 --- a/pages/future/future.vue +++ b/pages/future/future.vue @@ -134,7 +134,12 @@ export default { ], }; }, - onLoad() { + + onLoad(options) { + if (options) { + console.log("接收到的参数:", options.formedId); + this.formedId = options.formedId; + } // 页面加载时获取数据 this.loadPageData(); }, @@ -143,7 +148,7 @@ export default { async loadPageData() { this.loading = true; try { - const response = await getInstitutionalDetail(6); + const response = await getInstitutionalDetail(this.formedId); if (response.code === 200) { this.projectDetails = response.data; }