fix ==> redirectToLink
This commit is contained in:
parent
4c1c2c6084
commit
e3d93ca713
11 changed files with 80 additions and 17 deletions
|
|
@ -95,7 +95,7 @@ router.beforeEach(async (to, from, next) => {
|
|||
if (to.meta.Auth) {
|
||||
const checkAuthen = await authenticated();
|
||||
if (!checkAuthen && to.meta.Auth) {
|
||||
logout();
|
||||
logout(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue