From d1aa5fb438c60f25bea28c96ca8a162730907c27 Mon Sep 17 00:00:00 2001 From: kimdaae328 Date: Tue, 4 Feb 2025 10:57:18 +0900 Subject: [PATCH] =?UTF-8?q?=EB=82=A0=EC=A7=9C=20=EB=B3=80=ED=99=98?= =?UTF-8?q?=EC=A0=84,=20=EC=A2=8B=EC=95=84=EC=9A=94=20=ED=95=B4=EA=B2=B0?= =?UTF-8?q?=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/board/BoardProfile.vue | 19 ++++++++----------- src/views/board/BoardView.vue | 25 +++++++++++++------------ 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/src/components/board/BoardProfile.vue b/src/components/board/BoardProfile.vue index d5091f5..f9ab07a 100644 --- a/src/components/board/BoardProfile.vue +++ b/src/components/board/BoardProfile.vue @@ -7,16 +7,13 @@
{{ profileName }}
- 2024.12.10 10:46 + {{ date }}
@@ -72,17 +69,17 @@ const props = defineProps({ type: Boolean, default: false, }, + date: { + type: String, + required: true, + }, views: { type: Number, default: 0, }, - likes: { + comments: { type: Number, - default: null, - }, - dislikes: { - type: Number, - default: null, + default: 0, }, isChild: { type: Boolean, diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index 18df4be..474517d 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -9,8 +9,8 @@ :boardId="currentBoardId" :profileName="profileName" :views="views" - :likes="likes" - :dislikes="dislikes" + :comments="comments" + :date="date" class="pb-6 border-bottom" />
@@ -49,8 +49,8 @@ :bigBtn="true" :boardId="currentBoardId" :commentId="null" - :likeCount="currentLikeCount" - :dislikeCount="currentDislikeCount" + :likeCount="likes" + :dislikeCount="dislikes" @updateReaction="handleUpdateReaction" /> @@ -63,7 +63,7 @@ --> - +