zhangzhang 7 months ago
parent
commit
9e19bfea34
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherForecast/index.vue

3
ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherForecast/index.vue

@ -120,12 +120,9 @@ export default {
}, },
handleChange() { handleChange() {
getWeatherFacts().then((response) => { getWeatherFacts().then((response) => {
console.log("response", response.data);
for (let key in response.data) { for (let key in response.data) {
debugger;
if (response.data[key].name == this.city) { if (response.data[key].name == this.city) {
this.cityWeather = response.data[key]; this.cityWeather = response.data[key];
console.log("this.cityWeather", this.cityWeather);
} }
} }
}); });

Loading…
Cancel
Save