This commit is contained in:
yoon 2025-03-18 11:03:09 +09:00
commit 402c75320c
2 changed files with 9 additions and 1 deletions

View File

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

View File

@ -22,7 +22,7 @@
</div> </div>
<!-- 투표리스트 --> <!-- 투표리스트 -->
<div v-if="voteListCardData.length == 0 " >투표가 없습니다.</div> <div v-if="voteListCardData.length == 0 " class="text-center">투표가 없습니다.</div>
<vote-list <vote-list
:data="voteListCardData" :data="voteListCardData"
@addContents="addContents" @addContents="addContents"
@ -81,6 +81,7 @@ const voteWrite = () => {
}; };
const changeCheck = () =>{ const changeCheck = () =>{
currentPage.value = 1;
getvoteList(); getvoteList();
} }
// //
@ -100,6 +101,7 @@ const getvoteList = () => {
}; };
const selectHandler = () =>{ const selectHandler = () =>{
currentPage.value = 1;
voteset.value = category.value; voteset.value = category.value;
getvoteList(); getvoteList();
} }