250328 10am
This commit is contained in:
parent
4a8f74c357
commit
416ec12a20
@ -93,15 +93,15 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="unknown">
|
<div v-if="unknown">
|
||||||
<!-- 댓글 입력 영역 -->
|
<!-- 댓글 입력 영역 -->
|
||||||
<BoardCommentArea
|
<BoardCommentArea
|
||||||
:profileName="profileName"
|
:profileName="profileName"
|
||||||
:unknown="unknown"
|
:unknown="unknown"
|
||||||
:commentAlert="commentAlert"
|
:commentAlert="commentAlert"
|
||||||
:passwordAlert="passwordAlert"
|
:passwordAlert="passwordAlert"
|
||||||
:maxLength="500"
|
:maxLength="500"
|
||||||
@submitComment="handleCommentSubmit"
|
@submitComment="handleCommentSubmit"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -337,7 +337,9 @@
|
|||||||
createdAtRaw: comment.LOCCMTRDT, // 작성일
|
createdAtRaw: comment.LOCCMTRDT, // 작성일
|
||||||
// createdAt: formattedDate(comment.LOCCMTRDT), // 작성일(노출용)
|
// createdAt: formattedDate(comment.LOCCMTRDT), // 작성일(노출용)
|
||||||
// createdAtRaw: new Date(comment.LOCCMTUDT), // 수정순
|
// 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: [], // 대댓글을 담을 배열
|
children: [], // 대댓글을 담을 배열
|
||||||
updateAtRaw: comment.LOCCMTUDT,
|
updateAtRaw: comment.LOCCMTUDT,
|
||||||
}))
|
}))
|
||||||
@ -728,7 +730,6 @@
|
|||||||
closeAllPasswordAreas();
|
closeAllPasswordAreas();
|
||||||
|
|
||||||
if (targetComment) {
|
if (targetComment) {
|
||||||
// console.log('타겟',targetComment)
|
|
||||||
// 댓글 내용만 "삭제된 댓글입니다."로 변경하고, 구조는 유지
|
// 댓글 내용만 "삭제된 댓글입니다."로 변경하고, 구조는 유지
|
||||||
targetComment.content = '댓글이 삭제되었습니다.';
|
targetComment.content = '댓글이 삭제되었습니다.';
|
||||||
targetComment.author = '알 수 없음'; // 익명 처리
|
targetComment.author = '알 수 없음'; // 익명 처리
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user