浏览代码

飞书的登陆状态

Lijy 2 年之前
父节点
当前提交
db44c02e04
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

@@ -111,8 +111,8 @@
                 let token = windowHerf.split('&token=')[1]
                 this.automaticLogin(jobNumber, token)
             }
-            // 用户绑定了企业微信
-            if(windowHerf.indexOf('userId') != '-1') {
+            // 用户绑定了企业微信 和 飞书
+            if(windowHerf.indexOf('userId') != '-1' && windowHerf.indexOf('appId') != '-1') {
                 this.bindingqywx = true
             }
         },