浏览代码

Merge branch 'dev/v1.0.30_zsy' of jianyu/web into feature/v1.0.30

zhangsiya 1 年之前
父节点
当前提交
881c6598ec
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      apps/mobile/src/views/business/Detail.vue

+ 8 - 1
apps/mobile/src/views/business/Detail.vue

@@ -106,8 +106,15 @@ export default {
       if(this.isMember) {
         window.location.href = '/jyapp/big/page/forecast_list'
       } else {
+        let source = 'app_project_businessDetails'
+        const { inWX, inH5 } = this.$envs
+        if (inWX) {
+          source = 'wx_project_businessDetails'
+        } else if(inH5) {
+          source = 'h5_project_businessDetails'
+        }
         this.$leaveInfo.toLeaveInfoPage({
-          source: 'member_freeuse'
+          source: source
         })
       }
     },