This commit is contained in:
yanran200730
2022-07-28 16:30:08 +08:00
parent dc4807b29e
commit 7c19eb282c
2 changed files with 2 additions and 4 deletions

View File

@@ -308,7 +308,6 @@
getWeather (code) {
this.$http.post(`/api/bdweather/wdata?districtId=${code}`).then(res => {
console.log(res)
if (res.code === 0) {
const data = res.data.result.now
@@ -357,12 +356,10 @@
})
},
error: res => {
alert(JSON.stringify(res))
console.log(res)
}
})
}).catch(e => {
alert(JOSN.stringify(e))
})
})
},

View File

@@ -81,7 +81,8 @@
this.address = uni.getStorageSync('address').address || ''
this.weather = uni.getStorageSync('address').weather || ''
}
}
},
deep: true
}
},