diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index e1d8591..4071939 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -116,9 +116,7 @@ const goToEditPage = () => { const fetchBoardDetails = async () => { try { const response = await axios.get(`board/${currentBoardId.value}`); - console.log('전체 응답 데이터:', response.data); const data = response.data.data; - console.log('data 내부 데이터:', data); // API 응답 데이터 반영 const boardDetail = data.boardDetail || {}; @@ -135,7 +133,6 @@ const fetchBoardDetails = async () => { attachments.value = data.attachments || []; comments.value = data.comments || []; } catch (error) { - console.error('게시물 가져오기 오류:', error); alert('게시물 데이터를 불러오는 중 오류가 발생했습니다.'); } }; @@ -147,12 +144,9 @@ const currentDislikeCount = ref(2); const handleUpdateReaction = async ({ type, boardId, commentId }) => { try { const cmtId = commentId !== null ? commentId : 0; - console.log(`Sending reaction: type=${type}, boardId=${boardId}, commentId=${cmtId}`); const response = await axios.post(`/board/${boardId}/${cmtId}/reaction`, { type }); - console.log('API Response:', response.data); } catch (error) { - console.error('반응 업데이트 오류:', error.response ? error.response.data : error); alert('반응을 업데이트하는 중 오류 발생'); } };