Commit d9a2f916 authored by nikogu's avatar nikogu

Merge branch 'design-review' of https://github.com/ant-design/test2 into design-review

parents 15a59ad2 69674c85
...@@ -60,6 +60,10 @@ export default class Analysis extends Component { ...@@ -60,6 +60,10 @@ export default class Analysis extends Component {
this.setState({ this.setState({
rangePickerValue, rangePickerValue,
}); });
this.props.dispatch({
type: 'chart/fetchSalesData',
});
} }
selectDate = (type) => { selectDate = (type) => {
...@@ -84,7 +88,7 @@ export default class Analysis extends Component { ...@@ -84,7 +88,7 @@ export default class Analysis extends Component {
salesTypeData, salesTypeData,
salesTypeDataOnline, salesTypeDataOnline,
salesTypeDataOffline, salesTypeDataOffline,
} = chart; } = chart;
const salesPieData = salesType === 'all' ? const salesPieData = salesType === 'all' ?
salesTypeData salesTypeData
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment