提交 3e2b2e85 作者: e

去掉首页顶部省市

上级 ab4f5734
......@@ -86,7 +86,7 @@ onShow(() => {
UserAPI.location({ lat: res.latitude, lon: res.longitude })
.then((res) => {
console.log('UserAPI.location', res)
pageData.weather.detailedLocation = `${res.province}-${res.city}-${res.country}-${res.road
pageData.weather.detailedLocation = `${res.country}-${res.road
}-${res.town}-${res.address}`
})
.catch(() => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论