console role
All checks were successful
Build / build (push) Successful in 30s

This commit is contained in:
kittapath 2026-01-27 01:30:46 +07:00
parent 7c28d3f3ae
commit b2d93034dc

View file

@ -29,10 +29,14 @@ const router = createRouter({
name: 'AdminModule',
component: () => import('@/views/MainLayout.vue'),
beforeEnter: async (_to, _from, next) => {
console.log('AdminModule - beforeEnter')
const token = await getToken()
console.log(token)
if (token) {
console.log('11111')
const roles = getRole()
console.log(roles)
if (
token &&