表格选择pageSize增加200/500/1000 (#934)

This commit is contained in:
风之凌殇 2021-11-22 19:26:02 +08:00 committed by GitHub
parent 5e7104d5a3
commit 9001797037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -866,6 +866,7 @@ const Crontab = ({ headerStyle, isPhone }: any) => {
defaultPageSize: 20,
showTotal: (total: number, range: number[]) =>
`${range[0]}-${range[1]} 条/总共 ${total}`,
pageSizeOptions: [10, 20, 50, 100, 200, 500, 1000],
}}
dataSource={value}
rowKey="_id"