Commit c4a153b6 authored by 肖健's avatar 肖健

修复bug

parent 04cc6a51
......@@ -183,7 +183,11 @@
plugin.logout().then((res) => {
console.jdLoginLog(res, 'logoutres');
uni.reLaunch({
url: '/pages/main'
url: '/pages/main',
success: function(res) {
//重新设置tabbar为0
uni.setStorageSync('tabbar', 0)
}
});
});
})
......
......@@ -339,14 +339,11 @@ export default {
})
return
}
if(this.disabledSubmit) {
this.receivedFailShow = true
return
}
},
getCode() {
let that = this
that.checkLogin()
if(that.disabledSubmit) {
return
}
......@@ -494,7 +491,10 @@ export default {
that.checkLogin()
if(that.disabledSubmit) {
this.receivedFailShow = true
let token = uni.getStorageSync('userToken')
if(token) {
that.receivedFailShow = true
}
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment