Bladeren bron

为什么,iler

wesmiler 6 jaren geleden
bovenliggende
commit
5d4f0eedb2
1 gewijzigde bestanden met toevoegingen van 2 en 4 verwijderingen
  1. 2 4
      public/static/weixin/js/shop-map.js

+ 2 - 4
public/static/weixin/js/shop-map.js

@@ -25,12 +25,10 @@ var app = new Vue({
     },
     },
     created: function () {
     created: function () {
         this.params.type = getParam('type');
         this.params.type = getParam('type');
-        this.initPoint();
+        //this.initPoint();
     },
     },
     mounted: function () {
     mounted: function () {
         this.initMap();
         this.initMap();
-
-
     },
     },
     methods: {
     methods: {
         // 初始化定位
         // 初始化定位
@@ -75,7 +73,7 @@ var app = new Vue({
 
 
                 // 微信JSSDK
                 // 微信JSSDK
                 wx.config({
                 wx.config({
-                    debug: false, // 是否调试模式
+                    debug: true, // 是否调试模式
                     appId: params.appId, // 必填,公众号的唯一标识
                     appId: params.appId, // 必填,公众号的唯一标识
                     timestamp: params.timestamp, // 必填,生成签名的时间戳
                     timestamp: params.timestamp, // 必填,生成签名的时间戳
                     nonceStr: params.nonceStr, // 必填,生成签名的随机串
                     nonceStr: params.nonceStr, // 必填,生成签名的随机串