This commit is contained in:
fengchuanhn@gmail.com
2026-05-23 10:19:24 +08:00
parent a6335ba712
commit 6ad45ed60c
5 changed files with 176 additions and 5 deletions

View File

@@ -88,10 +88,9 @@ function setupHeartbeatLogoutListener() {
if (!authStore.isAuthenticated) {
return;
}
await authStore.logout();
if (router.currentRoute.value.name !== "login") {
await router.replace({ name: "login" });
}
authStore.currentUser.vip_end_time="2022-06-28T16:01:13";
await router.replace({ name: "card-activate" });
});
}