提交 c55a92d8 作者: 王进

增加分享参数判断

上级 fc7ce175
......@@ -792,8 +792,8 @@ class WechatSDK {
},
success: function (res) {
let ShareParams = {
title: shareInfo.share_title,
imageUrl: shareInfo.share_image,
title: shareInfo.share_title ? shareInfo.share_title : SDKConfig.shareTitle,
imageUrl: shareInfo.share_image ? shareInfo.share_image : SDKConfig.shareImageUrl,
query: 'fromOpenId=' + _self.ReportParams.openId + '&from=share&tag=0&actId=' + actId
}
console.log("^^SDK::ShareParams", ShareParams);
......
/**
/**
......@@ -792,8 +792,8 @@ class WechatSDK {
},
success: function (res) {
let ShareParams = {
title: shareInfo.share_title,
imageUrl: shareInfo.share_image,
title: shareInfo.share_title ? shareInfo.share_title : SDKConfig.shareTitle,
imageUrl: shareInfo.share_image ? shareInfo.share_image : SDKConfig.shareImageUrl,
query: 'fromOpenId=' + _self.ReportParams.openId + '&from=share&tag=0&actId=' + actId
}
console.log("^^SDK::ShareParams", ShareParams);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论