气象设备管理历史记录排序bug
parent
101d0fac70
commit
6561b6af7d
|
@ -290,7 +290,7 @@ export default {
|
|||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
this.varList = data.varList.reverse()
|
||||
this.varList = data.varList
|
||||
this.temperature = []
|
||||
this.winddirection = []
|
||||
this.windspeed = []
|
||||
|
@ -299,6 +299,9 @@ export default {
|
|||
this.winddirection.push([this.varList[i].OPERATTIME, this.varList[i].WINDDIRECTION])
|
||||
this.windspeed.push([this.varList[i].OPERATTIME, this.varList[i].WINDSPEED])
|
||||
}
|
||||
this.temperature.reverse()
|
||||
this.winddirection.reverse()
|
||||
this.windspeed.reverse()
|
||||
this.initCharts1(this.temperature, this.winddirection, this.windspeed)
|
||||
this.initCharts2(this.temperature, this.winddirection, this.windspeed)
|
||||
this.initCharts3(this.temperature, this.winddirection, this.windspeed)
|
||||
|
|
Loading…
Reference in New Issue