From 675eb9358725f3f7c2db0d3426c24474884cc43d Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Tue, 1 Apr 2025 10:52:24 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EC=9D=B8=EB=B3=B4=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/main/BoardMain.vue | 448 ++++++++++++++---------------- 1 file changed, 208 insertions(+), 240 deletions(-) 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(); + + +