对接公区收益
This commit is contained in:
@@ -196,14 +196,14 @@ const getVerifyCode = () => {
|
||||
}else{
|
||||
uni.showToast({
|
||||
title: '验证码发送失败',
|
||||
icon: 'error'
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
}).catch(err => {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: err.msg||'网络异常',
|
||||
icon: 'error'
|
||||
icon: 'none'
|
||||
});
|
||||
})
|
||||
|
||||
@@ -262,18 +262,18 @@ const doLogin = () => {
|
||||
uni.switchTab({ url: '/pages/index/index' });
|
||||
},1500)
|
||||
}else{
|
||||
uni.showToast({ title: '登录失败', icon: 'error' });
|
||||
uni.showToast({ title: '登录失败', icon: 'none' });
|
||||
}
|
||||
|
||||
}else{
|
||||
uni.showToast({ title:'登录失败', icon: 'error' });
|
||||
uni.showToast({ title:'登录失败', icon: 'none' });
|
||||
}
|
||||
|
||||
}).catch(err => {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: err.msg || '网络异常,请重试',
|
||||
icon: 'error'
|
||||
icon: 'none'
|
||||
});
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user