更新退出登录

This commit is contained in:
2025-07-28 09:58:35 +08:00
parent bcbf0be923
commit 1c3a25f527

View File

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