Commit 536faece authored by 郝聪敏's avatar 郝聪敏

fix: 分享测试url

parent a620e3de
...@@ -38,7 +38,7 @@ export async function setShare({ ...@@ -38,7 +38,7 @@ export async function setShare({
//分享到朋友圈 //分享到朋友圈
wx.updateTimelineShareData({ wx.updateTimelineShareData({
title, // 分享时的标题 title, // 分享时的标题
url, // 分享时的链接 link: url, // 分享时的链接
imgUrl, // 分享时的图标 imgUrl, // 分享时的图标
success: function() { success: function() {
console.log("分享成功"); console.log("分享成功");
...@@ -51,7 +51,7 @@ export async function setShare({ ...@@ -51,7 +51,7 @@ export async function setShare({
wx.updateAppMessageShareData({ wx.updateAppMessageShareData({
title, title,
desc, desc,
url, // 分享时的链接 link: url, // 分享时的链接
imgUrl, imgUrl,
type: "link", type: "link",
dataUrl: "", dataUrl: "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment