mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 23:46:06 +08:00
feat: 在antd的Table组件的默认分页大小选项基础上添加更多选项,方便在脚本超过100的情况下,想选择全部脚本时,不用再额外翻页
This commit is contained in:
parent
274a6ce52e
commit
e640984593
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user