익명 댓글 비밀번호 나오는곳 수정해야함
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) {
|
if (response.data.code === 200 && response.data.data === true) {
|
||||||
passwordCommentAlert.value = '';
|
passwordCommentAlert.value = "";
|
||||||
comment.isCommentPassword = false;
|
comment.isCommentPassword = false;
|
||||||
|
|
||||||
// 수정
|
// 수정
|
||||||
if (lastCommentClickedButton.value === "edit") {
|
if (lastCommentClickedButton.value === "edit") {
|
||||||
|
|
||||||
if (targetComment) {
|
if (targetComment) {
|
||||||
currentPasswordCommentId.value = null;
|
currentPasswordCommentId.value = false;
|
||||||
password.value = '';
|
//여기서 input 창 닫혀야함
|
||||||
passwordCommentAlert.value = '';
|
|
||||||
|
|
||||||
targetComment.isEditTextarea = true;
|
targetComment.isEditTextarea = true;
|
||||||
|
passwordCommentAlert.value = "";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
alert("수정 취소를 실패했습니다.");
|
alert("수정 취소를 실패했습니다.");
|
||||||
}
|
}
|
||||||
//삭제
|
//삭제
|
||||||
} else if (lastCommentClickedButton.value === "delete") {
|
} else if (lastCommentClickedButton.value === "delete") {
|
||||||
passwordCommentAlert.value = '';
|
passwordCommentAlert.value = "";
|
||||||
|
|
||||||
deleteReplyComment(comment)
|
deleteReplyComment(comment)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user