@@ -54,11 +54,13 @@
let self = this
this.tools.request_login(self, this.phone_value, this.password_value, (success)=>{
if(success === true) {
- uni.showToast({
- title:'登录成功',
- duration:2000
- })
uni.navigateBack()
+ setTimeout(function() {
+ uni.showToast({
+ title:'登录成功',
+ duration:1000
+ })
+ }, 100);
}
})