From 4af82712e1b07b2510b1cdac5bf19499edf7aca4 Mon Sep 17 00:00:00 2001 From: zjy4fun Date: Thu, 19 Oct 2023 16:36:25 +0800 Subject: [PATCH] Fix the display error in the comments page status filter text (#4743) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind bug /area console #### What this PR does / why we need it: ![fix-status-filter-2](https://github.com/halo-dev/halo/assets/106857035/e1f0a7ea-1328-45f2-ad06-cf14e91b8e4a) #### Which issue(s) this PR fixes: Fixes #4731 #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note 修复 Console 端评论状态筛选无法显示筛选结果的问题 ``` --- console/src/modules/contents/comments/CommentList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/console/src/modules/contents/comments/CommentList.vue b/console/src/modules/contents/comments/CommentList.vue index 80a230110..7b8c99b77 100644 --- a/console/src/modules/contents/comments/CommentList.vue +++ b/console/src/modules/contents/comments/CommentList.vue @@ -273,13 +273,13 @@ const handleApproveInBatch = async () => { }, { label: t('core.comment.filters.status.items.approved'), - value: 'true', + value: true, }, { label: t( 'core.comment.filters.status.items.pending_review' ), - value: 'false', + value: false, }, ]" />