ソースを参照

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

Lijy 2 年 前
コミット
1f1060a599

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

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