mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 03:46:47 +08:00
修复SZX-1107标题:大学堂公众号退出后登录另一账号异常
This commit is contained in:
@@ -136,8 +136,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
logout() {
|
logout() {
|
||||||
// 先解绑,如果当前账号的绑定状态relieveStatus已经为true了,那么就先解绑,为false就直接退出登录
|
|
||||||
this.relieveLogin(this.relieveStatus)
|
|
||||||
this.clearShow=true;
|
this.clearShow=true;
|
||||||
},
|
},
|
||||||
updateHeadImg() {
|
updateHeadImg() {
|
||||||
@@ -194,6 +192,8 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
confirmClear(){
|
confirmClear(){
|
||||||
|
// 先解绑,如果当前账号的绑定状态relieveStatus已经为true了,那么就先解绑,为false就直接退出登录
|
||||||
|
this.relieveLogin(this.relieveStatus)
|
||||||
let that = this;
|
let that = this;
|
||||||
that.$store.dispatch("LogOut").then(rs =>{
|
that.$store.dispatch("LogOut").then(rs =>{
|
||||||
that.clearShow=false;
|
that.clearShow=false;
|
||||||
|
|||||||
Reference in New Issue
Block a user