✨ feat: 表格分页支持200页
This commit is contained in:
parent
54d2e783ff
commit
998db585b0
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue