harry 1 год назад
Родитель
Сommit
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)
     }