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