diff --git a/src/components/main/BoardMain.vue b/src/components/main/BoardMain.vue index e5b772b..97ba7c8 100644 --- a/src/components/main/BoardMain.vue +++ b/src/components/main/BoardMain.vue @@ -1,267 +1,235 @@ + + + - +// 상세 페이지 이동 (게시판 타입 전달) +const goDetail = (id, boardType) => { +router.push({ name: 'BoardDetail', params: { id, type: boardType } }); +}; - +// 모달이 열릴 때 데이터 로드 +fetchNoticePosts(); +fetchGeneralPosts(); + + +