From dc50780ff8c783ed2a41e37e5ec4fadf8cb48b82 Mon Sep 17 00:00:00 2001 From: zenn Date: Mon, 1 Jun 2026 11:43:36 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EA=B8=80=20=EB=AA=A9?= =?UTF-8?q?=EC=B0=A8=EC=99=80=20=EB=8C=93=EA=B8=80=20=EB=93=B1=EB=A1=9D=20?= =?UTF-8?q?=EC=83=81=ED=83=9C=20=EC=A0=95=EB=A6=AC=20v1.5.16?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/comments/PostComments.vue | 21 ++-- components/site/RightSidebar.vue | 157 ++++++++++++++++++++++++++- docs/changelog.md | 7 ++ docs/history.md | 6 + docs/map.md | 4 +- docs/spec.md | 5 +- docs/update.md | 7 ++ package-lock.json | 4 +- package.json | 2 +- 9 files changed, 191 insertions(+), 22 deletions(-) diff --git a/components/comments/PostComments.vue b/components/comments/PostComments.vue index 32e3dce..92b1dea 100644 --- a/components/comments/PostComments.vue +++ b/components/comments/PostComments.vue @@ -19,6 +19,8 @@ const replyBody = ref('') const activeReplyTargetId = ref('') const sortOption = ref('best') const brokenAvatarCommentIds = ref([]) +const canSubmitComment = computed(() => Boolean(newCommentBody.value.trim()) && !submitting.value) +const canSubmitReply = computed(() => Boolean(replyBody.value.trim()) && !submittingReplyId.value) /** * 댓글 시간을 상대 시간 형식으로 변환한다. @@ -313,15 +315,15 @@ onMounted(async () => {
- +
@@ -339,8 +341,8 @@ onMounted(async () => {
-
+