From 86a6ccaf637c4a5953d7bab31828ca875b34a749 Mon Sep 17 00:00:00 2001 From: xianfuxing Date: Fri, 16 Nov 2018 14:16:43 +0800 Subject: [PATCH] # bugfixed - detail chart reverse --- src/views/counter/detail.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/counter/detail.vue b/src/views/counter/detail.vue index 393cfa8..ed44c3e 100644 --- a/src/views/counter/detail.vue +++ b/src/views/counter/detail.vue @@ -109,6 +109,7 @@ export default { dateList.push(item.date.substr(5)) }) this.total = response.data.count + this.lineChartData.total.historyData = this.lineChartData.total.historyData.reverse() this.lineChartData.total.xAxis = dateList.reverse() this.listLoading = false })