Commit 20821864 authored by jhfeng's avatar jhfeng Committed by ι™ˆεΈ…

fix(Analysis): correct typos (#2708)

parent e0ea59c6
...@@ -140,8 +140,8 @@ class Analysis extends Component { ...@@ -140,8 +140,8 @@ class Analysis extends Component {
} }
render() { render() {
const { rangePickerValue, salesType, loading: propsLoding, currentTabKey } = this.state; const { rangePickerValue, salesType, loading: stateLoading, currentTabKey } = this.state;
const { chart, loading: stateLoading } = this.props; const { chart, loading: propsLoading } = this.props;
const { const {
visitData, visitData,
visitData2, visitData2,
...@@ -153,7 +153,7 @@ class Analysis extends Component { ...@@ -153,7 +153,7 @@ class Analysis extends Component {
salesTypeDataOnline, salesTypeDataOnline,
salesTypeDataOffline, salesTypeDataOffline,
} = chart; } = chart;
const loading = propsLoding || stateLoading; const loading = propsLoading || stateLoading;
let salesPieData; let salesPieData;
if (salesType === 'all') { if (salesType === 'all') {
salesPieData = salesTypeData; salesPieData = 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