Skip to content

Commit

Permalink
fix: 修复授权账号管理的表格没有分页器的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed Oct 27, 2022
1 parent f567459 commit 522b0b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions client/src/pages/authorizedAccountManage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,12 @@ export default function AuthorizedAccountManage() {
hover
// 与pagination对齐
pagination={{
pageSize,
total: accountTotal,
current: currentPage,
pageSizeOptions: [15],
pageSize: pageSize,
pageSizeOptions: [],
onCurrentChange: setCurrentPage,
showJumper: true,
}}
/>
</TabPanel>
Expand All @@ -346,8 +347,9 @@ export default function AuthorizedAccountManage() {
pageSize,
total: mpAccountTotal,
current: mpCurrentPage,
pageSizeOptions: [15],
pageSizeOptions: [],
onCurrentChange: setMpCurrentPage,
showJumper: true,
}}
/>
</TabPanel>
Expand Down

0 comments on commit 522b0b9

Please sign in to comment.