feat: 表格分页支持200页

This commit is contained in:
wangsongsole 2024-02-02 15:13:29 +08:00
parent 54d2e783ff
commit 998db585b0
1 changed files with 5 additions and 0 deletions

View File

@ -135,6 +135,10 @@ export default class pagination extends React.Component {
this.setState({ count: 100 }) this.setState({ count: 100 })
this.props.onCountChange(100) this.props.onCountChange(100)
break break
case "5":
this.setState({ count: 200 })
this.props.onCountChange(200)
break
default: default:
break break
} }
@ -186,6 +190,7 @@ export default class pagination extends React.Component {
<MenuItem key={2}>20</MenuItem> <MenuItem key={2}>20</MenuItem>
<MenuItem key={3}>50</MenuItem> <MenuItem key={3}>50</MenuItem>
<MenuItem key={4}>100</MenuItem> <MenuItem key={4}>100</MenuItem>
<MenuItem key={5}>200</MenuItem>
</Menu> </Menu>
</DropdownContent> </DropdownContent>
</Dropdown> </Dropdown>