|
@@ -122,10 +122,12 @@ export default {
|
|
|
console.log(datas)
|
|
|
for(let i in datas.data) {
|
|
|
if (that.windturbine.station === i) {
|
|
|
- this.startTimer = setInterval(() =>{
|
|
|
+ that.getPvStationData(datas.data[i].codeInfos)
|
|
|
+ that.startTimer = setInterval(() =>{
|
|
|
that.getPvStationData(datas.data[i].codeInfos)
|
|
|
}, 3000)
|
|
|
- this.echartTimer = setInterval(() =>{
|
|
|
+ that.getEcharts(datas.data[i].codeInfos)
|
|
|
+ that.echartTimer = setInterval(() =>{
|
|
|
that.getEcharts(datas.data[i].codeInfos)
|
|
|
}, 10000)
|
|
|
}
|