|
@@ -518,7 +518,7 @@ export default {
|
|
|
that.getSelectCity(res.longitude,res.latitude)
|
|
that.getSelectCity(res.longitude,res.latitude)
|
|
|
},
|
|
},
|
|
|
fail: function () {
|
|
fail: function () {
|
|
|
- this.getTypeList();
|
|
|
|
|
|
|
+ that.getTypeList();
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
@@ -527,7 +527,7 @@ export default {
|
|
|
this.$Request.get('/app/Login/selectCity?lat=' + latitude + '&lng=' + longitude).then(res => {
|
|
this.$Request.get('/app/Login/selectCity?lat=' + latitude + '&lng=' + longitude).then(res => {
|
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
|
// console.log(res, '获取地址信息')
|
|
// console.log(res, '获取地址信息')
|
|
|
- this.city = res.data.city ? res.data.city : '区域'
|
|
|
|
|
|
|
+ that.city = res.data.city ? res.data.city : '区域'
|
|
|
uni.setStorageSync('city', res.data.city)
|
|
uni.setStorageSync('city', res.data.city)
|
|
|
that.getTypeList();
|
|
that.getTypeList();
|
|
|
}
|
|
}
|