Browse Source

字段错了

hbchen 1 year ago
parent
commit
e3bfdb7c31
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/reportEn/detail.vue

+ 3 - 3
src/views/reportEn/detail.vue

@@ -198,10 +198,10 @@ export default {
 
     async getreportdetail() {
       const { Data,Ret  } = await reportEnDetail({ ReportCode: this.id,ShareEmail:Number(this.$route.query.ShareEmail)||0 });
-        document.title=(Data && Data.H5ShareName) || "Report"
+        document.title=(Data && Data.H5ShareEnName) || "Report"
         if (Ret !== 200) return
         // console.log('data',Data)
-        let H5ShareName = Data.H5ShareName
+        let H5ShareEnName = Data.H5ShareEnName
         let H5ReportShareImg = Data.H5ReportShareImg
         let wxShareTitle=!!Data.Hz?
         '【No.'+Data.Report.Stage+'|FICC'+'】'+Data.Report.Title+'('+Data.Report.CreateTime.substring(5,7)+Data.Report.CreateTime.substring(8,10)+')':
@@ -224,7 +224,7 @@ export default {
             wx.previewImage({ current: curImageSrc, urls: imgArray });
           }
         });
-        wxShare(document.location.href,H5ShareName || document.title,wxShareTitle,H5ReportShareImg,0);
+        wxShare(document.location.href,H5ShareEnName || document.title,wxShareTitle,H5ReportShareImg,0);
     },
 
     /*内容分割*/