diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index e791e90..a643347 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);