삭제된 댓글일떄 수정
All checks were successful
LocalNet_front/pipeline/head This commit looks good

This commit is contained in:
dyhj625 2025-03-27 11:08:40 +09:00
parent 6d428a3bd6
commit cdb40ed942
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
</template> </template>
<!-- 좋아요, 싫어요 버튼 (댓글에서만 표시) --> <!-- 좋아요, 싫어요 버튼 (댓글에서만 표시) -->
<BoardRecommendBtn v-if="isLike" :boardId="boardId" :comment="comment" @updateReaction="handleUpdateReaction" /> <BoardRecommendBtn v-if="isLike && !isDeletedComment" :boardId="boardId" :comment="comment" @updateReaction="handleUpdateReaction" />
</div> </div>
</div> </div>
</template> </template>

View File

@ -336,7 +336,7 @@
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.LOCCMTUDT !== comment.LOCCMTRDT ? ' (수정됨)' : ''), // () createdAt: formattedDate(comment.LOCCMTUDT) + (comment.content === '삭제된 댓글입니다' && comment.LOCCMTUDT !== comment.LOCCMTRDT ? ' (수정됨)' : ''), // ()
children: [], // children: [], //
updateAtRaw: comment.LOCCMTUDT, updateAtRaw: comment.LOCCMTUDT,
})) }))