diff --git a/pages/signUpDraftTeamPage/signUpDraftTeamPage.js b/pages/signUpDraftTeamPage/signUpDraftTeamPage.js index 5a9e42a..4eaf401 100644 --- a/pages/signUpDraftTeamPage/signUpDraftTeamPage.js +++ b/pages/signUpDraftTeamPage/signUpDraftTeamPage.js @@ -139,16 +139,17 @@ Page({ UserApi.draftingGroupRegistration(params).then(res => { if (res.success) { wx.showToast({ - title: res.message, - icon: 'loading', + title: res.result, + icon: 'success', duration: 1500, - success: () => { - this.goBack() - } + mask: true }) + setTimeout(() => { + this.goBack() + }, 1500) } else { wx.showToast({ - title: res.message, + title: res.result, icon: 'none', duration: 2000 })