fix ==> redirectToLink

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-06-20 17:35:32 +07:00
parent bf022bdb73
commit 1530d538ca
5 changed files with 50 additions and 14 deletions

View file

@ -95,7 +95,8 @@ router.beforeEach(async (to, from, next) => {
if (to.meta.Auth) {
const checkAuthen = await authenticated();
if (!checkAuthen && to.meta.Auth) {
logout();
logout(true);
return;
}
}
next();