Commit 0033fae5 by 匡雅琴

bug修复

1 parent ad7458de
...@@ -305,7 +305,7 @@ export default { ...@@ -305,7 +305,7 @@ export default {
let _type = res.data.statisticsType == 1 ? 'weekNum' : 'dayNum' let _type = res.data.statisticsType == 1 ? 'weekNum' : 'dayNum'
this.lineChartsYear = _dataList[_dataList.length - 1].yearInt || '' this.lineChartsYear = _dataList[_dataList.length - 1].yearInt || ''
_dataList.forEach(item => { _dataList.forEach(item => {
this.xAxisDataList.push(item[_int]) res.data.statisticsType == 1 ? this.xAxisDataList.push(item[_int]) : this.xAxisDataList.push(item.monthInt + '.' + item[_int])
this.useCarData.push(item[_type]) this.useCarData.push(item[_type])
}) })
setTimeout(() => { setTimeout(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!