From 3ae991f52ce2bf2e257b7d16809a97afe8bd0ba6 Mon Sep 17 00:00:00 2001 From: Tim <135014430+nagisa77@users.noreply.github.com> Date: Tue, 8 Jul 2025 23:28:17 +0800 Subject: [PATCH] feat(ui): toggle replies text --- open-isle-cli/src/components/CommentItem.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/open-isle-cli/src/components/CommentItem.vue b/open-isle-cli/src/components/CommentItem.vue index 37eb0f54d..6a3271526 100644 --- a/open-isle-cli/src/components/CommentItem.vue +++ b/open-isle-cli/src/components/CommentItem.vue @@ -41,8 +41,12 @@ -
- {{ comment.reply.length }}条回复 +
+ {{ showReplies ? '收起' : '展开' }}{{ comment.reply.length }}条回复