onShareAppMessage: function (res) {
const that = this
const thingDetail = that.data.thingDetail
// const userId = that.data.userId==='none' ? that.data.userInfo._id : that.data.userId
let userId
if(that.data.userId==='none'){
userId = that.data.userInfo._id
}else{
userId = that.data.userId
}
return {
title: thingDetail.thingTitle,
path: '/pages/detail/detail?isByShere=true&userId='+ userId + '&_id=' + thingDetail._id+"&category=" + thingDetail.categoryName,
imageUrl: thingDetail.tempImages[0],
fail: function(res){
that.showPrompt('暂时无法分享')
}
}
}
这是为什么呀,我不知道我哪里有问题呀,真机调试只要点了分享就有这个
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
页面上有接入广告组件或插件吗