From 36d9d2226681dbed9469391dc7508e133d4bdec7 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Mon, 09 Oct 2023 11:06:54 +0800
Subject: [PATCH] fix:风场接口优化
---
src/components/Wind/Map.vue | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/components/Wind/Map.vue b/src/components/Wind/Map.vue
index fce77ec..1f75648 100644
--- a/src/components/Wind/Map.vue
+++ b/src/components/Wind/Map.vue
@@ -498,8 +498,8 @@
this.jingduNew = newLL[1]
this.weiduNew = newLL[0]
// ���������������������
- this.windData()
- this.change(0)
+ // this.windData()
+ // this.change(0)
this.getParamsData()
this.windDir()
this.newDate()
@@ -1540,14 +1540,14 @@
}
)
}, 1000)
- if (this.windState === 1) {
- // this.ws.close()
- this.initData()
- // console.log('���������������')
- } else if (this.windState === 2) {
- this.windDir()
- // console.log('���������������')
- }
+ // if (this.windState === 1) {
+ // console.log('getRegionApiRequest')
+ // this.initData()
+ // console.log('���������������')
+ // } else if (this.windState === 2) {
+ // this.windDir()
+ // console.log('���������������')
+ // }
// ������������������
// this.deviceMaker()
// this.getParamsData()
@@ -1582,14 +1582,14 @@
}
// console.log(this.chooseTimeInfo, 'this.chooseTimeInfo ')
// clearInterval(this.timer)
- if (this.windState === 1) {
- // this.ws.close()
- this.initData()
- // console.log('���������������')
- } else if (this.windState === 2) {
- this.windDir()
- // console.log('���������������')
- }
+ // if (this.windState === 1) {
+ // this.ws.close()
+ // this.initData()
+ // console.log('���������������')
+ // } else if (this.windState === 2) {
+ // this.windDir()
+ // console.log('���������������')
+ // }
setTimeout(() => {
this.change(this.changeColor)
this.times = 300
--
Gitblit v1.8.0