로그인안하고 경로로 들어갈때 모든 메뉴 막기

This commit is contained in:
dyhj625 2025-03-18 10:57:13 +09:00
parent 03bb18a1e8
commit 72570e11a2

View File

@ -13,6 +13,7 @@ const routes = [
{
path: '/board',
component: () => import('@v/board/TheBoard.vue'),
meta: { requiresAuth: true },
children: [
{
path: '',
@ -38,6 +39,7 @@ const routes = [
{
path: '/wordDict',
component: () => import('@v/wordDict/wordDict.vue'),
meta: { requiresAuth: true }
},
{
path: '/login',
@ -60,10 +62,12 @@ const routes = [
{
path: '/vacation',
component: () => import('@v/vacation/VacationManagement.vue'),
meta: { requiresAuth: true }
},
{
path: '/voteboard',
component: () => import('@v/voteboard/TheVoteBoard.vue'),
meta: { requiresAuth: true },
children: [
{
path: '',
@ -79,10 +83,12 @@ const routes = [
{
path: '/projectlist',
component: () => import('@v/projectlist/TheProjectList.vue'),
meta: { requiresAuth: true }
},
{
path: '/commuters',
component: () => import('@v/commuters/TheCommuters.vue'),
meta: { requiresAuth: true }
},
{
path: '/authorization',