guojy 1 年之前
父節點
當前提交
b7bd11cb0f
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 0 1
      src/view/course/utils/index.js
  2. 10 1
      src/view/user/wxInit.vue

+ 0 - 1
src/view/course/utils/index.js

@@ -138,7 +138,6 @@ export function setWxConfig(shareInfo) {
             });
             wx.updateTimelineShareData({
                 title: info.title, // 分享标题
-                desc: info.desc, // 分享描述
                 link: info.link, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                 imgUrl: info.imgUrl, // 分享图标
                 success: function () {

+ 10 - 1
src/view/user/wxInit.vue

@@ -207,7 +207,16 @@ export default {
             query: { invite: 1 }
           }); // 选择行业
         } else {
-          this.$router.replace({ name: "create_company" }); //进入体验账号
+          if (window.plus&&(navigator.userAgent.indexOf('iPhone') > 0)) {
+            this.$router.replace({
+              name: 'iosIntercept'
+            })
+          } else {
+            this.$router.replace({
+              name: 'create_company'
+            })
+          }
+          // this.$router.replace({ name: "create_company" }); //进入体验账号
         }
       }
     },