From 7ec6424667b4d3f7421fcc558b03393ce2d2a9bc Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Tue, 11 Mar 2025 10:34:10 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=93=EA=B8=80=20=EC=82=AD=EC=A0=9C?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/board/BoardView.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index 10d9a31..3d811df 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -677,12 +677,10 @@ if (!confirm('정말 이 댓글을 삭제하시겠습니까?')) return; const targetComment = findCommentById(comment.commentId, comments.value); - - // console.log('잘되니?',comment) - + console.log(comment.parentId, comment.commentId) try { const response = await axios.delete(`board/comment/${comment.commentId}`, { - data: { LOCCMTSEQ: comment.commentId }, + params: { LOCCMTSEQ: comment.commentId, LOCCMTPNT: comment.parentId }, }); if (response.data.code === 200) {