소스 검색

分享朋友圈保底 title

harry 1 년 전
부모
커밋
07b74f8e15
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/shareHelper/index.ts

+ 1 - 1
src/shareHelper/index.ts

@@ -137,7 +137,7 @@ export function shareTimeline({ video, messageActionType = 'videoShareH5', rootP
     var msgPath = detailPath.replace(/%23/g, '_')
     return {
         session_from: JSON.stringify(session_from),
-        send_msg_title: video.shareTitle,
+        send_msg_title: video.shareTitle || video.title,
         send_msg_img: 'https://weapppiccdn.yishihui.com/wxicon/wxOther/image/contact-share-h5-background-image.png',
         send_msg_path: '/'.concat(msgPath)
     }