Browse Source

天地图服务改为浏览器端口

xiaohaizhao 11 tháng trước cách đây
mục cha
commit
c90174fae4
3 tập tin đã thay đổi với 3 bổ sung11 xóa
  1. 1 1
      manifest.json
  2. 2 3
      pages/index/modules/home.vue
  3. 0 7
      utils/qqmap-wx-jssdk.min.js

+ 1 - 1
manifest.json

@@ -64,7 +64,7 @@
         "usingComponents" : true,
         "permission" : {
             "scope.userLocation" : {
-                "desc" : "为了您更好的体验,请确认获取您的位置"
+                "desc": "为了完善打卡签到信息,请确认获取当前所在位置"
             }
         },
         "requiredPrivateInfos" : [ "getLocation" ]

+ 2 - 3
pages/index/modules/home.vue

@@ -46,8 +46,7 @@ import spectaculars from "./spectaculars.vue";
 import patrolScheme from "./patrolScheme.vue";
 import { getWeek, getYMD } from "../../../utils/getTime";
 import workorder from "./workorderList";
-const QQMapWX = require("../../../utils/qqmap-wx-jssdk.min.js");
-var qqmapsdk;
+
 export default {
   name: "Home",
   components: {
@@ -69,7 +68,7 @@ export default {
     };
   },
   created() {
-    this.getPlace();
+    // this.getPlace();
     let userMsg = uni.getStorageSync("userMsg");
     this.sitename = `${userMsg.sitename} - ${userMsg.name}`;
     try {

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 7
utils/qqmap-wx-jssdk.min.js


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác