Fix extra Spin in Table

This commit is contained in:
afc163 2016-05-27 21:06:45 +08:00
parent 248f1bd00f
commit d8ad0b1993

View File

@ -742,7 +742,7 @@ export default class Table extends React.Component {
table = <Spin className={spinClassName} spinning={this.props.loading}>{table}</Spin>;
return (
<div className={`${emptyClass} ${className} clearfix`} style={style}>
{<Spin className={spinClassName} spinning={this.props.loading}>{table}</Spin>}
{table}
{this.renderPagination()}
</div>
);