익명 댓글 비밀번호 나오는곳 수정해야함
This commit is contained in:
parent
785df5c51f
commit
421ec4eaec
@ -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)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user