fix: fix pagination bug

This commit is contained in:
shiweisong.ssw
2023-06-29 14:14:28 +08:00
parent 39278a8969
commit 0a5e578940
2 changed files with 4 additions and 0 deletions

View File

@@ -80,6 +80,8 @@ const ChunkList = () => {
</Table> </Table>
<Stack direction="row" justifyContent="flex-end"> <Stack direction="row" justifyContent="flex-end">
<Pagination <Pagination
defaultPageSize={20}
showSizeChanger={false}
current={current} current={current}
total={total} total={total}
onChange={async (page) => { onChange={async (page) => {

View File

@@ -208,6 +208,8 @@ const Documents = () => {
</Table> </Table>
<Stack direction="row" justifyContent="flex-end"> <Stack direction="row" justifyContent="flex-end">
<Pagination <Pagination
defaultPageSize={20}
showSizeChanger={false}
current={current} current={current}
total={total} total={total}
onChange={async (page) => { onChange={async (page) => {