From 62361b7ae92372f16ba8d7ea2391486487281fd8 Mon Sep 17 00:00:00 2001 From: kimdaae328 Date: Fri, 21 Feb 2025 03:50:17 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=93=EA=B8=80=20=EB=B9=84=EB=B0=80?= =?UTF-8?q?=EB=B2=88=ED=98=B8=20=EC=A7=84=ED=96=89=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/board/BoardComment.vue | 158 +++++---------------- src/components/board/BoardCommentList.vue | 24 +++- src/views/board/BoardView.vue | 160 +++++++++++++++++++++- 3 files changed, 210 insertions(+), 132 deletions(-) diff --git a/src/components/board/BoardComment.vue b/src/components/board/BoardComment.vue index c072bbe..242b311 100644 --- a/src/components/board/BoardComment.vue +++ b/src/components/board/BoardComment.vue @@ -9,15 +9,13 @@ :showDetail="false" :author="true" :isLike="!isLike" - :isPassword="isPassword" - @editClick="editClick" - @deleteClick="deleteClick" - @submitPassword="submitPassword" + :isCommentPassword="comment.isCommentPassword" + @editClick="$emit('editClick', comment)" + @deleteClick="$emit('deleteClick', comment)" @updateReaction="handleUpdateReaction" - @toggleEdit="toggleEdit(true)" /> -
+
- +
{{ passwordAlert }}
-