From f780ba191b7956d82a2cd38450432dbe84dac705 Mon Sep 17 00:00:00 2001 From: kimdaae328 Date: Fri, 28 Feb 2025 16:15:18 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=93=EA=B8=80=20=EC=9E=91=EC=84=B1=20?= =?UTF-8?q?=ED=9B=84=20=EC=B4=88=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/board/BoardCommentArea.vue | 1 + src/views/board/BoardView.vue | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/components/board/BoardCommentArea.vue b/src/components/board/BoardCommentArea.vue index 29b7267..c0c91c5 100644 --- a/src/components/board/BoardCommentArea.vue +++ b/src/components/board/BoardCommentArea.vue @@ -101,6 +101,7 @@ isCheck: isCheck.value, LOCBRDTYP, // 익명일 경우 '300102' 설정 }); + comment.value = ''; } watch( diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index 653c54d..af8c290 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -391,6 +391,8 @@ const handleCommentSubmit = async (data) => { if (response.status === 200) { passwordAlert.value = ''; commentAlert.value = ''; + + data.comment = ""; await fetchComments(); } else { alert("댓글 작성을 실패했습니다.")