提交 64cde2e9 编写于 作者: B Benjy Cui

fix: Pagination.onChange should be called #824

上级 1cff3f77
......@@ -39,6 +39,9 @@ const pagination = {
showSizeChanger: true,
onShowSizeChange: function(current, pageSize) {
console.log('Current: ', current, '; PageSize: ', pageSize);
},
onChange: function(current) {
console.log('Current: ', current);
}
};
......
......@@ -253,6 +253,8 @@ let AntTable = React.createClass({
} else {
pagination.current = pagination.current || 1;
}
pagination.onChange(pagination.current);
const newState = {
selectionDirty: false,
pagination
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册