|
@@ -109,6 +109,7 @@ export function useTable<A extends AntDesign.TableApiFn>(config: AntDesign.AntDe
|
|
|
showSizeChanger: true,
|
|
|
pageSizeOptions: ['10', '15', '20', '25', '30'],
|
|
|
total: 0,
|
|
|
+ showTotal:total => `共 ${total} 条`,
|
|
|
onChange: async (current: number, size: number) => {
|
|
|
pagination.pageIndex = current
|
|
|
pagination.pageSize = size
|