Browse Source

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

zhangsiya 1 year ago
parent
commit
881c6598ec
1 changed files with 8 additions and 1 deletions
  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) {
       if(this.isMember) {
         window.location.href = '/jyapp/big/page/forecast_list'
         window.location.href = '/jyapp/big/page/forecast_list'
       } else {
       } 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({
         this.$leaveInfo.toLeaveInfoPage({
-          source: 'member_freeuse'
+          source: source
         })
         })
       }
       }
     },
     },