loading should be in remote mode

This commit is contained in:
afc163 2015-08-27 23:52:59 +08:00
parent 30efa794d7
commit 9b8abb2199

View File

@ -457,7 +457,7 @@ var AntTable = React.createClass({
let data = this.getCurrentPageData();
let columns = this.renderRowSelection();
let classString = '';
if (this.state.loading && this.isLocalDataSource()) {
if (this.state.loading && !this.isLocalDataSource()) {
classString += ' ant-table-loading';
}
if (this.props.size === 'small') {