From 2cc280717d1d5638f066dca8d6a7f42c087eae39 Mon Sep 17 00:00:00 2001 From: kimdaae328 Date: Fri, 28 Feb 2025 10:09:45 +0900 Subject: [PATCH] . --- src/views/board/BoardView.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index 30d7921..cfacd8f 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -461,6 +461,7 @@ const editComment = (comment) => { if (isMyComment) { targetComment.isEditTextarea = !targetComment.isEditTextarea; + lastCommentClickedButton.value = "edit"; } else if (isAnonymous) { toggleCommentPassword(comment, "edit"); } else { @@ -616,6 +617,7 @@ const deletePost = async () => { // 댓글 삭제 (대댓글 포함) const deleteReplyComment = async (comment) => { + console.log('지금 여기') if (!confirm("정말 이 댓글을 삭제하시겠습니까?")) return; try { @@ -635,6 +637,7 @@ const deleteReplyComment = async (comment) => { // 댓글 수정 확인 const handleSubmitEdit = async (comment, editedContent) => { + console.log('asdasdasdasd') try { const response = await axios.put(`board/comment/${comment.commentId}`, { LOCCMTSEQ: comment.commentId,