fix pagination false bug

This commit is contained in:
afc163 2015-07-27 19:23:51 +08:00
parent 6007d4d840
commit 3442cc7832

View File

@ -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