From ddfc7879faabff0f69ccf37fa105b736e9dcff4d Mon Sep 17 00:00:00 2001
From: mk <2403457699@qq.com>
Date: Tue, 26 Nov 2024 10:05:26 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E8=87=AA=E5=8A=A8=E8=8E=B7?=
=?UTF-8?q?=E5=8F=96=E5=AE=9A=E4=BD=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/selectAgency/index.vue | 33 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 18 deletions(-)
diff --git a/src/views/selectAgency/index.vue b/src/views/selectAgency/index.vue
index 6dd7bb7..8453a3b 100644
--- a/src/views/selectAgency/index.vue
+++ b/src/views/selectAgency/index.vue
@@ -11,7 +11,7 @@
- 手动选择
+
{
@@ -68,7 +66,6 @@ export default {
}
});
},
-
methods: {
search(){
this.organizationName = this.searchKey;
@@ -93,18 +90,18 @@ export default {
}
}
})
- wx.ready(function () {
- wx.getLocation({
- type: 'gcj02', // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
- success: function (res) {
- _this.latLng = new qq.maps.LatLng(res.latitude, res.longitude)
- _this.getAddress()
- },
- cancel: function (res) {
- alert('用户拒绝授权获取地理位置')
- }
- })
- })
+ // wx.ready(function () {
+ // wx.getLocation({
+ // type: 'gcj02', // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
+ // success: function (res) {
+ // _this.latLng = new qq.maps.LatLng(res.latitude, res.longitude)
+ // _this.getAddress()
+ // },
+ // cancel: function (res) {
+ // alert('用户拒绝授权获取地理位置')
+ // }
+ // })
+ // })
wx.error(function (res) {
console.log('微信js-sdk 配置失败000' + res.errMsg)
})