微信公开课
如何看待微信公开课小程序热门讨论「小程序转发功能」
摘要:小程序转发功能
展开:onShareAppMessage:functiononShareAppMessage(res){return{title:壹邮币,desc:发布卖货就这么简单好用,path:/pages/index/index,success:function(res){console.log(转发成功)},fail:function(res){console.log(转发失败)}}},index页面的转发能用onShareAppMessage:functiononShareAppMessage(res){varidthis.data.idreturn{title:壹邮币,desc:发布卖货就这么简单好用,path:/pages/component/product/product?id+id,success:function(res){console.log(转发成功)},fail:function(res){console.log(转发失败)}}},这段同样的代码,除了index页面以外,其他页面的转发均不起效果,只能转发不能编辑titledesc以及添加的参数无效,求助!!了解更多