【fix 80904】 起草组报名成功提示
This commit is contained in:
@@ -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
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user