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}) },