【fix 80904】 起草组报名成功提示

This commit is contained in:
danshihao
2024-01-16 17:39:24 +08:00
parent 150040ba76
commit 08bb8c77ff
@@ -139,16 +139,17 @@ Page({
UserApi.draftingGroupRegistration(params).then(res => { UserApi.draftingGroupRegistration(params).then(res => {
if (res.success) { if (res.success) {
wx.showToast({ wx.showToast({
title: res.message, title: res.result,
icon: 'loading', icon: 'success',
duration: 1500, duration: 1500,
success: () => { mask: true
this.goBack()
}
}) })
setTimeout(() => {
this.goBack()
}, 1500)
} else { } else {
wx.showToast({ wx.showToast({
title: res.message, title: res.result,
icon: 'none', icon: 'none',
duration: 2000 duration: 2000
}) })