mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
fix pagination false bug
This commit is contained in:
parent
6007d4d840
commit
3442cc7832
@ -138,7 +138,7 @@ export default React.createClass({
|
||||
}
|
||||
},
|
||||
handlePageChange: function(current) {
|
||||
let pagination = this.state.pagination;
|
||||
let pagination = this.state.pagination || {};
|
||||
pagination.current = current || 1;
|
||||
this.setState({
|
||||
pagination: pagination
|
||||
|
Loading…
Reference in New Issue
Block a user