Browse Source

Update Analysis.js

delete this.state
pull/2398/head
Anderson 8 years ago
committed by 陈帅
parent
commit
5ae2e75170
  1. 12
      src/pages/Dashboard/Analysis.js

12
src/pages/Dashboard/Analysis.js

@ -58,14 +58,14 @@ class Analysis extends Component {
total: 323234,
});
}
this.state = {
salesType: 'all',
currentTabKey: '',
loading: true,
rangePickerValue: getTimeDistance('year'),
};
}
state = {
salesType: 'all',
currentTabKey: '',
rangePickerValue: getTimeDistance('year'),
};
componentDidMount() {
const { dispatch } = this.props;
this.reqRef = requestAnimationFrame(() => {

Loading…
Cancel
Save