From 421ec4eaec925d3765c9c9c719fb968504c2bdac Mon Sep 17 00:00:00 2001 From: kimdaae328 Date: Fri, 28 Feb 2025 13:02:55 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B5=EB=AA=85=20=EB=8C=93=EA=B8=80=20?= =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20=EB=82=98=EC=98=A4?= =?UTF-8?q?=EB=8A=94=EA=B3=B3=20=EC=88=98=EC=A0=95=ED=95=B4=EC=95=BC?= =?UTF-8?q?=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/board/BoardView.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index 91c7e29..3eca89b 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -579,25 +579,24 @@ const submitCommentPassword = async (comment, password) => { }); if (response.data.code === 200 && response.data.data === true) { - passwordCommentAlert.value = ''; + passwordCommentAlert.value = ""; comment.isCommentPassword = false; // 수정 if (lastCommentClickedButton.value === "edit") { if (targetComment) { - currentPasswordCommentId.value = null; - password.value = ''; - passwordCommentAlert.value = ''; - + currentPasswordCommentId.value = false; + //여기서 input 창 닫혀야함 targetComment.isEditTextarea = true; + passwordCommentAlert.value = ""; } else { alert("수정 취소를 실패했습니다."); } //삭제 } else if (lastCommentClickedButton.value === "delete") { - passwordCommentAlert.value = ''; + passwordCommentAlert.value = ""; deleteReplyComment(comment) }