mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-15 13:22:51 +00:00
修复后台首页统计无数据js报错bug
This commit is contained in:
parent
45c51f0719
commit
2298ae2a96
@ -273,14 +273,17 @@
|
||||
default:
|
||||
break;
|
||||
}
|
||||
that.cyclecount = res.data.data.cycle.count.data;
|
||||
that.cyclecount_percent = res.data.data.cycle.count.percent;
|
||||
that.cyclecount_is_plus = res.data.data.cycle.count.is_plus;
|
||||
that.cycleprice = res.data.data.cycle.price.data;
|
||||
that.cycleprice_percent = res.data.data.cycle.price.percent;
|
||||
that.cycleprice_is_plus = res.data.data.cycle.price.is_plus;
|
||||
that.pre_cyclecount = res.data.data.pre_cycle.count.data;
|
||||
that.pre_cycleprice = res.data.data.pre_cycle.price.data;
|
||||
var data=res.data.data;
|
||||
if(data.length) {
|
||||
that.cyclecount = data.cycle.count.data;
|
||||
that.cyclecount_percent = data.cycle.count.percent;
|
||||
that.cyclecount_is_plus = data.cycle.count.is_plus;
|
||||
that.cycleprice = data.cycle.price.data;
|
||||
that.cycleprice_percent = data.cycle.price.percent;
|
||||
that.cycleprice_is_plus = data.cycle.price.is_plus;
|
||||
that.pre_cyclecount = data.pre_cycle.count.data;
|
||||
that.pre_cycleprice = data.pre_cycle.price.data;
|
||||
}
|
||||
});
|
||||
},
|
||||
orderchartsetoption:function(data){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user