fix: 切换账号时菜单不变化
This commit is contained in:
parent
7591e3c34c
commit
99413a3fef
|
@ -165,7 +165,9 @@ export default {
|
||||||
confirmButtonClass: "el-button--danger",
|
confirmButtonClass: "el-button--danger",
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.$router.replace({ path: "/login" });
|
this.$router.replace({ path: "/login" }).then(() => {
|
||||||
|
location.reload();
|
||||||
|
});
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
//取消退出
|
//取消退出
|
||||||
|
|
Loading…
Reference in New Issue