diff --git a/pages/Address/edit.vue b/pages/Address/edit.vue
index b96f717..dcb0a2c 100644
--- a/pages/Address/edit.vue
+++ b/pages/Address/edit.vue
@@ -292,7 +292,20 @@ export default {
success: (res) => {
that.lat = res.latitude;
that.lng = res.longitude;
- that.model.address.area = res.address;
+ console.log(res)
+ // that.model.address.area = res.address;
+ api.getloction({activedeta:{
+ city:res.address,
+ address:res.name
+ }}).then(data => {
+ let address = data.address_components;
+ console.log('address',address)
+ // that.address.province = address.province;
+ // that.address.city = address.city;
+ // that.address.district = address.district;
+ that.model.address.area = address.province+address.city+address.district;
+ console.log()
+ });
},
fail: (err) => {
console.log(err)
diff --git a/pages/Index/index.vue b/pages/Index/index.vue
index a7aa403..241d608 100644
--- a/pages/Index/index.vue
+++ b/pages/Index/index.vue
@@ -50,6 +50,7 @@
+