1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
This commit is contained in:
MoonTestUse1
2024-12-23 22:11:48 +06:00
parent fa7d95c2a8
commit 31079cc3cc

View File

@@ -33,7 +33,7 @@ const router = createRouter({
] ]
}); });
router.beforeEach((to, from, next) => { router.beforeEach((to, _, next) => {
const authStore = useAuthStore(); const authStore = useAuthStore();
if (to.meta.requiresAuth && !authStore.isAuthenticated) { if (to.meta.requiresAuth && !authStore.isAuthenticated) {