From 725aa599749104288f403c521b433ce280a12f9c Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Tue, 26 Oct 2021 20:30:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E7=A0=81=E6=8A=A5=E5=90=8D=E7=AC=AC?= =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/signUpEntrance/signUpEntrance.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pages/signUpEntrance/signUpEntrance.js b/pages/signUpEntrance/signUpEntrance.js index 076755a..b9d2bb3 100644 --- a/pages/signUpEntrance/signUpEntrance.js +++ b/pages/signUpEntrance/signUpEntrance.js @@ -50,6 +50,10 @@ Page({ }) }) } + }).catch(err => { + wx.showToast({ + title: '加载失败', + }) }) }, // 报名 @@ -102,9 +106,10 @@ Page({ */ onLoad: function (options) { let url = decodeURIComponent(options.q) - if(url){ - let meetingId = url.split('=')[1] - } + console.log(options,'options'); + console.log(url,'url'); + let meetingId = url.split('=')[1] + console.log(meetingId,'meetingId'); this.queryMeetingDetail({id:meetingId}) },