linwenxin преди 7 месеца
родител
ревизия
ed2118eb2e

+ 2 - 2
src/common/utils/common.js

@@ -238,8 +238,8 @@ export const getLocation = async function () {
   return new Promise((resolve, reject) => {
     wx.getLocation({
       type: 'gcj02',
-      isHighAccuracy: true,
-      geocode: true,
+      // isHighAccuracy: true,
+      // geocode: true,
       success: res => {
         resolve(res)
       },

+ 2 - 2
src/packageAttachment/pages/applicationParts/index.vue

@@ -106,8 +106,8 @@ export default {
           const addressInfo = await new Promise((resolve, reject) => {
             wx.getLocation({
               type: 'gcj02',
-              isHighAccuracy: true,
-              geocode: true,
+              // isHighAccuracy: true,
+              // geocode: true,
               success: res => {
                 resolve({
                   lat: res.latitude,

+ 2 - 2
src/packageMaterial/pages/apply/order.vue

@@ -121,8 +121,8 @@ export default {
     	return await new Promise((resolve, reject) => {
     		wx.getLocation({
     			type: 'gcj02',
-    			isHighAccuracy: true,
-    			geocode: true,
+    			// isHighAccuracy: true,
+    			// geocode: true,
     			success: (res) => {
     				this.lat = res.latitude;
     				this.lng = res.longitude;

+ 2 - 2
src/packageMaterial/pages/apply/website.vue

@@ -85,8 +85,8 @@ export default {
       return await new Promise((resolve, reject) => {
         wx.getLocation({
           type: 'gcj02',
-          isHighAccuracy: true,
-          geocode: true,
+          // isHighAccuracy: true,
+          // geocode: true,
           success: res => {
             console.log(res)
             this.lat = res.latitude