linwenxin 1 هفته پیش
والد
کامیت
d5c14fa112
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 7 1
      src/common/utils/util.js

+ 7 - 1
src/common/utils/util.js

@@ -1043,7 +1043,13 @@ export const wxConfig = function (configInfo, userInfo, cb, _url) {
                 configInfo,
                 userInfo,
                 cb,
-                jishu % 2 ? window.location.href.split('#')[0] : getStorage('realAuthUrl')
+                jishu % 3 === 0
+                  ? window.location.href.split('#')[0]
+                  : jishu % 3 === 1
+                  ? getStorage('realAuthUrl')
+                  : `${process.env.VUE_APP_HREF}/pages/index/index?appid=${
+                      getQueryVariable('appid') || getQueryVariable('appId')
+                    }`
               )
             }, 1000)
           } else {