From cc402911d9488c3576ffcd3c4707ea3dfe6ff0e1 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Tue, 10 Oct 2023 11:18:57 +0800 Subject: [PATCH] Merge branch 'feature_1.0' --- src/components/Wind/Map.vue | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/components/Wind/Map.vue b/src/components/Wind/Map.vue index 1f75648..52fc114 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() @@ -1523,7 +1523,7 @@ this.getParamsData() setTimeout(() => { $.getJSON( - 'http://47.99.64.149:8080/api/screen_api_v2/screen/windAndDeviceDataByArea', + 'http://47.99.64.149:8080/screen_api_v2/screen/windAndDeviceDataByArea', { monitorPointId: this.$store.state.monitorPointId }, (data) => { // ������������������ @@ -1540,14 +1540,14 @@ } ) }, 1000) - // if (this.windState === 1) { - // console.log('getRegionApiRequest') - // 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('���������������') + } // ������������������ // 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