This commit is contained in:
lcw
2025-10-26 12:25:50 +08:00
parent 5e18952b55
commit ea3022c3f6
617 changed files with 86322 additions and 185615 deletions

View File

@ -156,8 +156,9 @@ onMounted(() => {
// 按钮切换
const handleBtns = (val) => {
btnsActive.value = val;
console.log(val);
btnsActive.value = val;
switch (val) {
case "智能布控":
router.push("/DeploymentArea");
@ -177,12 +178,7 @@ const handleBtns = (val) => {
// window.open(NPShref.href, "_blank");
break;
case "退出登录":
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");
store.dispatch("user/logout");
break;
}
};