From 8c29873731718d2a70a4782869532e8721e85d6d Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Tue, 18 Feb 2025 14:46:20 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A8=B8=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/board/BoardCommentArea.vue | 50 +++++- src/components/modal/VacationModal.vue | 195 +++++++++++----------- src/views/board/BoardView.vue | 4 +- 3 files changed, 142 insertions(+), 107 deletions(-) diff --git a/src/components/board/BoardCommentArea.vue b/src/components/board/BoardCommentArea.vue index e408ffe..db85f1d 100644 --- a/src/components/board/BoardCommentArea.vue +++ b/src/components/board/BoardCommentArea.vue @@ -5,7 +5,7 @@
-
+
Avatar
@@ -13,8 +13,9 @@
@@ -23,7 +24,7 @@
-
+
-
@@ -57,6 +59,40 @@ diff --git a/src/components/modal/VacationModal.vue b/src/components/modal/VacationModal.vue index e1b705b..fd27de0 100644 --- a/src/components/modal/VacationModal.vue +++ b/src/components/modal/VacationModal.vue @@ -1,49 +1,41 @@ + - - const closeModal = () => { - emit("close"); - }; - - - +} + diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index 2eb5e83..2559318 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -221,12 +221,12 @@ const handleUpdateReaction = async ({ boardId, commentId, isLike, isDislike }) = }; // 댓글 목록 조회 -const fetchComments = async (pageNum = 1) => { +const fetchComments = async (page = 1) => { try { const response = await axios.get(`board/${currentBoardId.value}/comments`, { params: { LOCBRDSEQ: currentBoardId.value, - pageNum: pageNum + page } }); console.log("목록 API 응답 데이터:", response.data);