Bläddra i källkod

尝试调试企业微信的人员字符串 2

Lijy 2 år sedan
förälder
incheckning
1f1060a599
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

+ 4 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -2984,7 +2984,7 @@ export default {
             this.tixtass = "config,进入"
             this.tixtass = "config,进入"
             wx.config({ 
             wx.config({ 
               beta: true,
               beta: true,
-              debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
+              debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
               appId: res.data.appid, // 必填,公众号的唯一标识 
               appId: res.data.appid, // 必填,公众号的唯一标识 
               timestamp: res.data.timestamp, // 必填,生成签名的时间戳 
               timestamp: res.data.timestamp, // 必填,生成签名的时间戳 
               nonceStr: res.data.noncestr, // 必填,生成签名的随机串 
               nonceStr: res.data.noncestr, // 必填,生成签名的随机串 
@@ -3052,7 +3052,9 @@ export default {
     this.getProfessional();
     this.getProfessional();
     this.getStaffCountMax();
     this.getStaffCountMax();
     // 获取企业微信的参数
     // 获取企业微信的参数
-    this.agentConfig()
+    if(this.user.companyId = '1081') {
+      this.agentConfig()
+    }
   },
   },
 };
 };
 </script>
 </script>