From 2e013a54be1d2b6921115f41deee8c418706937b Mon Sep 17 00:00:00 2001 From: kimdaae328 Date: Mon, 3 Feb 2025 14:02:50 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=98=EC=86=94=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/board/BoardView.vue | 6 ------ 1 file changed, 6 deletions(-) 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('반응을 업데이트하는 중 오류 발생'); } };