Lijy 4 ヶ月 前
コミット
6d36e8c29e

+ 1 - 0
fhKeeper/formulahousekeeper/customerBuler-crm-h5/src/pages/login.vue

@@ -147,6 +147,7 @@ function loginProcessing(data = {}) {
   router.switchTabBar({
     pathName: 'home',
     success: function () {
+      alert(isCorpWX.value)
       if (isCorpWX.value) {
         obtainEnterpriseWeChatParameters(data)
       }

+ 1 - 0
fhKeeper/formulahousekeeper/customerBuler-crm-h5/src/utility/corpWXparam.js

@@ -26,6 +26,7 @@ export function addressRedirection(isCorpWx = false) {
 export function obtainEnterpriseWeChatParameters(data = {}) {
   const token = data.id
   const curUrl = window.location.href.split('#')[0]
+  console.log('开始调用接口')
   requests.post(`/wxcorp/getCorpWXConfig`, { url: curUrl, token }).then((res) => {
     console.log(res, '<====== 返回的参数 /wxcorp/getCorpWXConfig')
     wx.config({