onShareAppMessage:function(options) {
console.log("分享地址"+options.webViewUrl)
console.log("标题"+this.data.share_title)
return {
title: this.data.share_title,
path: 'pages/webview/webview?url=' + encodeURIComponent(options.webViewUrl),
imageUrl: this.data.sh_datahare_image
}
},
onShareTimeline:function(options) {
console.log("分享朋友圈地址"+options.webViewUrl)
console.log("标题"+this.data.share_title)
return {
title: this.data.share_title,
query: {url : encodeURIComponent(options.webViewUrl)},
imageUrl: this.data.sh_datahare_image
}
},
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。