海外版本天气调整获取方式,大屏不显示天气

This commit is contained in:
2025-07-22 15:13:50 +08:00
parent c5d5ed77bf
commit 2963a635cf
3 changed files with 57 additions and 7 deletions

View File

@ -10,7 +10,7 @@
<span class="title-text">中自智慧储能管控平台</span>
<div class="right-title">
<span>{{ time }}</span>
<span class="weather">{{ weatherInfo ? weatherInfo.skyCon : '' }} {{ weatherInfo? weatherInfo.minTemperature :'' }} ~ {{ weatherInfo ? weatherInfo.maxTemperature : '' }}</span>
<!-- <span class="weather">{{ weatherInfo ? weatherInfo.skyCon : '' }} {{ weatherInfo? weatherInfo.minTemperature :'' }} ~ {{ weatherInfo ? weatherInfo.maxTemperature : '' }}</span> -->
</div>
@ -142,7 +142,7 @@ export default {
this.$refs.RightTopRef.getData(this.deptId)
this.$refs.RightCenterRef.getData(this.deptId)
this.$refs.RightRightRef.getData(this.deptId)
this.getWeatherInfo()
// this.getWeatherInfo() 国外大屏不展示天气
this.$refs.MapCenterRef.getStationNum(this.deptId)
this.$refs.MapCenterRef.getData(this.deptId)
this.$refs.MapCenterRef.getLeftData(this.deptId)