tremble il y a 3 ans
Parent
commit
6ebf8def95
1 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 8 1
      src/components/RTC/PageRtcLive.vue

+ 8 - 1
src/components/RTC/PageRtcLive.vue

@@ -203,7 +203,14 @@ const onClickShare = () => {
     wx.miniProgram.getEnv((res) => {
       if (res.miniprogram) {
         showShare.value = true;
-        wx.miniProgram.postMessage({ data: { title: "【好友推薦】一起雲逛店吧~", imageUrl: "https://glp-vr.cdfmembers.com/cdf/file/91dd5305525f463286f03a31abd1c154.jpg", h5Url: shareLink.value } });
+        wx.miniProgram.postMessage({
+          data: {
+            title: "【好友推薦】一起雲逛店吧~",
+            imageUrl: "https://glp-vr.cdfmembers.com/cdf/file/91dd5305525f463286f03a31abd1c154.jpg",
+            h5Url: shareLink.value,
+          },
+        });
+        console.log('分享url-------------',shareLink.value);
         //在小程序里
       } else {
         openDialog("dialogShare", shareLink.value);