diff --git a/pages/service.vue b/pages/service.vue
index 335fd86..993f6a3 100644
--- a/pages/service.vue
+++ b/pages/service.vue
@@ -10,7 +10,7 @@
-
@@ -21,7 +21,7 @@
-
+ -->
@@ -101,7 +101,7 @@
-
+
diff --git a/pages/technician.vue b/pages/technician.vue
index 12ea15f..07ccbf4 100644
--- a/pages/technician.vue
+++ b/pages/technician.vue
@@ -7,7 +7,7 @@
- {{location&&location.address ?location.address : isLoad ? '定位失败' : '定位中...'}}
+ {{location&&location.name ?location.name : isLoad ? '定位失败' : '定位中...'}}
@@ -380,6 +380,7 @@
province = '',
city = '',
district = '',
+ name = ''
}] = await uni.chooseLocation(param);
if (!lng) return
let location = {
@@ -388,7 +389,8 @@
address,
province,
city,
- district
+ district,
+ name
}
this.updateUserItem({
key: 'location',
@@ -408,7 +410,7 @@
let {
location
} = this
- if (!location.lat || (location.lat && location.address == '定位失败')) {
+ if (!location.lat || (location.lat && location.name == '定位失败')) {
// #ifdef H5
if (this.$jweixin.isWechat()) {
this.$util.showLoading()