댓글 작성 후 초기화

This commit is contained in:
kimdaae328 2025-02-28 16:15:18 +09:00
parent 42c6a32c3f
commit f780ba191b
2 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,7 @@
isCheck: isCheck.value,
LOCBRDTYP, // '300102'
});
comment.value = '';
}
watch(

View File

@ -391,6 +391,8 @@ const handleCommentSubmit = async (data) => {
if (response.status === 200) {
passwordAlert.value = '';
commentAlert.value = '';
data.comment = "";
await fetchComments();
} else {
alert("댓글 작성을 실패했습니다.")