提交 3ea67ded 编写于 作者: A afc163

Merge branch 'develop-0.11.0' of github.com:ant-design/ant-design into develop-0.11.0

......@@ -431,12 +431,13 @@ let AntTable = React.createClass({
'mini': this.props.size === 'middle' || this.props.size === 'small',
});
let total = this.state.pagination.total || this.getLocalData().length;
const pageSize = this.state.pagination.pageSize;
return (total > 0) ?
<Pagination {...this.state.pagination}
className={classString}
onChange={this.handlePageChange}
total={total}
pageSize={10}
pageSize={pageSize}
onShowSizeChange={this.handleShowSizeChange} /> : null;
},
......
{
"name": "antd",
"version": "0.11.0-beta6",
"stableVersion": "0.10.4",
"version": "0.11.0",
"stableVersion": "0.11.0",
"title": "Ant Design",
"description": "一个 UI 设计语言",
"homepage": "http://ant.design/",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册