From 08bb8c77ff2e2a4b0a73425bc43f53e2c2ff3583 Mon Sep 17 00:00:00 2001 From: danshihao Date: Tue, 16 Jan 2024 17:39:24 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=2080904=E3=80=91=20=E8=B5=B7?= =?UTF-8?q?=E8=8D=89=E7=BB=84=E6=8A=A5=E5=90=8D=E6=88=90=E5=8A=9F=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/signUpDraftTeamPage/signUpDraftTeamPage.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 })