mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
表格选择pageSize增加200/500/1000 (#934)
This commit is contained in:
parent
5e7104d5a3
commit
9001797037
|
@ -866,6 +866,7 @@ const Crontab = ({ headerStyle, isPhone }: any) => {
|
||||||
defaultPageSize: 20,
|
defaultPageSize: 20,
|
||||||
showTotal: (total: number, range: number[]) =>
|
showTotal: (total: number, range: number[]) =>
|
||||||
`第 ${range[0]}-${range[1]} 条/总共 ${total} 条`,
|
`第 ${range[0]}-${range[1]} 条/总共 ${total} 条`,
|
||||||
|
pageSizeOptions: [10, 20, 50, 100, 200, 500, 1000],
|
||||||
}}
|
}}
|
||||||
dataSource={value}
|
dataSource={value}
|
||||||
rowKey="_id"
|
rowKey="_id"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user