更新退出登录
This commit is contained in:
@ -173,10 +173,11 @@ const handleBtns = (val) => {
|
||||
window.open(NPShref.href, "_blank");
|
||||
break;
|
||||
case "退出登录":
|
||||
store.dispatch("user/logout");
|
||||
window.opener = null;
|
||||
window.open('', '_self');
|
||||
window.close();
|
||||
store.commit("app/clearTag", null, { immediate: true });
|
||||
store.commit("permission/deleteRouter", { immediate: true });
|
||||
store.commit("user/deleteKeepLiiveRoute", "home");
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user