This commit is contained in:
kimdaae328 2025-02-28 10:09:45 +09:00
parent d1c91b30df
commit 2cc280717d

View File

@ -461,6 +461,7 @@ const editComment = (comment) => {
if (isMyComment) {
targetComment.isEditTextarea = !targetComment.isEditTextarea;
lastCommentClickedButton.value = "edit";
} else if (isAnonymous) {
toggleCommentPassword(comment, "edit");
} else {
@ -616,6 +617,7 @@ const deletePost = async () => {
// ( )
const deleteReplyComment = async (comment) => {
console.log('지금 여기')
if (!confirm("정말 이 댓글을 삭제하시겠습니까?")) return;
try {
@ -635,6 +637,7 @@ const deleteReplyComment = async (comment) => {
//
const handleSubmitEdit = async (comment, editedContent) => {
console.log('asdasdasdasd')
try {
const response = await axios.put(`board/comment/${comment.commentId}`, {
LOCCMTSEQ: comment.commentId,