fix: 切换账号时菜单不变化

This commit is contained in:
caoqianming 2023-12-24 18:49:12 +08:00
parent 7591e3c34c
commit 99413a3fef
1 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,9 @@ export default {
confirmButtonClass: "el-button--danger",
})
.then(() => {
this.$router.replace({ path: "/login" });
this.$router.replace({ path: "/login" }).then(() => {
location.reload();
});
})
.catch(() => {
//退