diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index 6b8f17b..af76558 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -93,15 +93,15 @@ />
- - + +
@@ -337,7 +337,9 @@ createdAtRaw: comment.LOCCMTRDT, // 작성일 // createdAt: formattedDate(comment.LOCCMTRDT), // 작성일(노출용) // createdAtRaw: new Date(comment.LOCCMTUDT), // 수정순 - createdAt: formattedDate(comment.LOCCMTUDT) + (comment.content === '삭제된 댓글입니다' && comment.LOCCMTUDT !== comment.LOCCMTRDT ? ' (수정됨)' : ''), // 수정일(노출용) + createdAt: + formattedDate(comment.LOCCMTUDT) + + (comment.content === '삭제된 댓글입니다' && comment.LOCCMTUDT !== comment.LOCCMTRDT ? ' (수정됨)' : ''), // 수정일(노출용) children: [], // 대댓글을 담을 배열 updateAtRaw: comment.LOCCMTUDT, })) @@ -728,7 +730,6 @@ closeAllPasswordAreas(); if (targetComment) { - // console.log('타겟',targetComment) // 댓글 내용만 "삭제된 댓글입니다."로 변경하고, 구조는 유지 targetComment.content = '댓글이 삭제되었습니다.'; targetComment.author = '알 수 없음'; // 익명 처리