Browse Source

fix table loading style

pull/43/head
afc163 10 years ago
parent
commit
41525cc19b
  1. 2
      components/table/index.jsx
  2. 2
      style/components/table.less

2
components/table/index.jsx

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

2
style/components/table.less

@ -86,7 +86,7 @@
}
&-loading {
opacity: 0.7;
opacity: 0.67;
}
&-small {

Loading…
Cancel
Save