Fix(消息):点击进入AI首页使用首页定位的城市获取天气数据
This commit is contained in:
@@ -1327,6 +1327,7 @@ export default {
|
||||
const { latitude, longitude } = mapData
|
||||
getCurAddress(latitude, longitude).then(address => {
|
||||
this.cityName = address[1].data.result.ad_info.city
|
||||
uni.setStorageSync('locationCityName', this.cityName)
|
||||
this.isLocating = false
|
||||
this.getPageData()
|
||||
}).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user