Commit 9b010bc0 authored by 郝聪敏's avatar 郝聪敏

Merge branch 'feature/test_url' into 'master'

fix: 分享测试url

See merge request !201
parents a620e3de 536faece
......@@ -38,7 +38,7 @@ export async function setShare({
//分享到朋友圈
wx.updateTimelineShareData({
title, // 分享时的标题
url, // 分享时的链接
link: url, // 分享时的链接
imgUrl, // 分享时的图标
success: function() {
console.log("分享成功");
......@@ -51,7 +51,7 @@ export async function setShare({
wx.updateAppMessageShareData({
title,
desc,
url, // 分享时的链接
link: url, // 分享时的链接
imgUrl,
type: "link",
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