|
@@ -188,7 +188,7 @@ export default {
|
|
|
this.merchantData = res.datas.merchant_info
|
|
|
this.todayOrder = res.datas.todayStatistics
|
|
|
let weekOrderCount = res.datas.weeksStatistics
|
|
|
- weekOrderCount.forEach(item => this.weekOrderCount.push(item.count))
|
|
|
+ Object.values(weekOrderCount).forEach(item => this.weekOrderCount.push(item.count))
|
|
|
option.series[0].data = this.weekOrderCount
|
|
|
myChart.setOption(option)
|
|
|
setTimeout(function (){
|