diff --git a/src/modules/contents/comments/CommentList.vue b/src/modules/contents/comments/CommentList.vue index 9c74318c1..3d46d3839 100644 --- a/src/modules/contents/comments/CommentList.vue +++ b/src/modules/contents/comments/CommentList.vue @@ -221,6 +221,10 @@ const SortFilterItems: { }[] = [ { label: "默认", + value: undefined, + }, + { + label: "最后回复时间", value: "LAST_REPLY_TIME", }, { @@ -283,7 +287,7 @@ function handleClearKeyword() { const hasFilters = computed(() => { return ( selectedApprovedFilterItem.value.value !== undefined || - selectedSortFilterItem.value.value !== "LAST_REPLY_TIME" || + selectedSortFilterItem.value.value !== undefined || selectedUser.value || keyword.value ); @@ -358,7 +362,7 @@ function handleClearFilters() { 排序:{{ selectedSortFilterItem.label }}