修复SZX-1107标题:大学堂公众号退出后登录另一账号异常

This commit is contained in:
王卓煜
2025-07-10 17:00:40 +08:00
parent 7bfc4294ff
commit 9de6a54748

View File

@@ -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;