From f5f7952515be42d850ed1cd6d09511ea2e0ce8b2 Mon Sep 17 00:00:00 2001 From: invalid w Date: Fri, 13 Oct 2023 17:10:03 +0800 Subject: [PATCH] chore(Pagination): Remove the unnecessary pagesize attribute --- src/components/Table/src/hooks/usePagination.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Table/src/hooks/usePagination.tsx b/src/components/Table/src/hooks/usePagination.tsx index ba310bd1..1ace5909 100644 --- a/src/components/Table/src/hooks/usePagination.tsx +++ b/src/components/Table/src/hooks/usePagination.tsx @@ -48,7 +48,6 @@ export function usePagination(refProps: ComputedRef) { return { current: 1, - pageSize: PAGE_SIZE, size: 'small', defaultPageSize: PAGE_SIZE, showTotal: (total) => t('component.table.total', { total }),