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>
<Stack direction="row" justifyContent="flex-end">
<Pagination
defaultPageSize={20}
showSizeChanger={false}
current={current}
total={total}
onChange={async (page) => {

View File

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