default pagination current page

This commit is contained in:
afc163 2015-08-27 23:53:42 +08:00
parent 9b8abb2199
commit c799326e7f

View File

@ -48,7 +48,8 @@ var AntTable = React.createClass({
sortOrder: '',
sorter: null,
pagination: this.hasPagination() ? objectAssign({
pageSize: 10
pageSize: 10,
current: 1
}, this.props.pagination) : {}
};
},