diff --git a/packages/search-table-react/src/hooks/useRequest.tsx b/packages/search-table-react/src/hooks/useRequest.tsx index c0f8edb..8aa01bc 100644 --- a/packages/search-table-react/src/hooks/useRequest.tsx +++ b/packages/search-table-react/src/hooks/useRequest.tsx @@ -137,6 +137,7 @@ export default function useRequest({ style: { marginBottom: 0 }, showQuickJumper: true, showSizeChanger: true, + showTotal: (total: number) => `共 ${total} 条数据`, ...table.pagination, ...paginationRef.current, onChange: (current: number, pageSize: number) => {