From 92d76b1d6376c8ebe0524be13bb3a999bb8fbf96 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 14 Sep 2023 18:34:13 +0800 Subject: [PATCH] fix: can not display current size option (#60) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复不显示当前分页条数的问题。 before: image after: image /kind bug ```release-note 修复不显示当前分页条数的问题。 ``` --- packages/comment-widget/src/components/Comment.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/comment-widget/src/components/Comment.vue b/packages/comment-widget/src/components/Comment.vue index 38bc885..a04011e 100644 --- a/packages/comment-widget/src/components/Comment.vue +++ b/packages/comment-widget/src/components/Comment.vue @@ -187,6 +187,7 @@ provide>("upvotedReplies", upvotedReplies); :page="comments.page" :size="comments.size" :total="comments.total" + :size-options="[20, 30, 50, 100]" class="bg-transparent" @change="handlePaginationChange" />