From 7a39717a5e7c036b79edcd61511deb3e2817cf76 Mon Sep 17 00:00:00 2001 From: jhynsoo Date: Thu, 23 May 2024 15:25:59 +0900 Subject: [PATCH] Feat: Add comment delete feature --- src/components/article/CommentItem.vue | 10 ++++++---- src/components/article/CommentList.vue | 9 ++++++++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/components/article/CommentItem.vue b/src/components/article/CommentItem.vue index bdaf265..3db939b 100644 --- a/src/components/article/CommentItem.vue +++ b/src/components/article/CommentItem.vue @@ -1,13 +1,15 @@ @@ -18,7 +20,7 @@ function handleDelete() {
{{ comment.nickname }}
{{ comment.date }}
-
+
삭제
diff --git a/src/components/article/CommentList.vue b/src/components/article/CommentList.vue index 81e0ea0..549a779 100644 --- a/src/components/article/CommentList.vue +++ b/src/components/article/CommentList.vue @@ -1,12 +1,19 @@