Skip to content

Commit

Permalink
fix(hooks): Fixed abnormal display of table pagers (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
mufeng889 authored May 22, 2024
1 parent 7943ce2 commit cc2562b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/common/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function useTable<A extends AntDesign.TableApiFn>(config: AntDesign.AntDe
current: 1,
pageSize: 10,
showSizeChanger: true,
pageSizeOptions: [10, 15, 20, 25, 30],
pageSizeOptions: ['10', '15', '20', '25', '30'],
total: 0,
onChange: async (current: number, size: number) => {
pagination.current = current;
Expand Down

0 comments on commit cc2562b

Please sign in to comment.