update 优化 eslint

This commit is contained in:
疯狂的狮子Li
2024-06-28 10:18:18 +08:00
parent 27d36f7970
commit 7637582437
20 changed files with 27 additions and 34 deletions

View File

@ -53,7 +53,7 @@ router.beforeEach(async (to, from, next) => {
next();
} else {
const redirect = encodeURIComponent(to.fullPath || '/');
next(`/login?redirect=${redirect}`) // 否则全部重定向到登录页
next(`/login?redirect=${redirect}`); // 否则全部重定向到登录页
NProgress.done();
}
}