邓洁 : 修改细节
This commit is contained in:
@@ -47,7 +47,6 @@
|
||||
this.getNotice()
|
||||
this.getStat()
|
||||
this.open()
|
||||
this.getRegionList()
|
||||
},
|
||||
methods: {
|
||||
getBanner(){
|
||||
@@ -89,8 +88,6 @@
|
||||
success(res) {
|
||||
console.log('res.latitude', res.latitude);
|
||||
console.log('res.longitude', res.longitude);
|
||||
uni.setStorageSync('latitude', res.latitude);
|
||||
uni.setStorageSync('longitude', res.longitude);
|
||||
qqmapsdk.reverseGeocoder({
|
||||
location: {
|
||||
latitude: res.latitude,
|
||||
@@ -106,6 +103,7 @@
|
||||
uni.setStorageSync('city_code', re.result.ad_info.city_code.substring(3));
|
||||
uni.setStorageSync('city', city.slice(0, 2));
|
||||
uni.setStorageSync('district', district);
|
||||
that.getRegionList()
|
||||
// that.position = city.slice(0, 2) + district.slice(0, 2)
|
||||
},
|
||||
fail: (re) => {
|
||||
|
||||
Reference in New Issue
Block a user