Browse Source

分享朋友圈保底 title

harry 1 year ago
parent
commit
07b74f8e15
1 changed files with 1 additions and 1 deletions
  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)
     }