微信小程序分享功能onShareAppMessage事件的疑问

发布于 7 年前作者 mingshen19016 次浏览最后编辑 7 年前来自 ask

我在页面上写了了button按钮,设置了open-type分享属性,在js页面定义了onShareAppMessage事件,但是当我点击按钮时,断点没有进入onShareAppMessage事件,并且在我删除事件时,button按钮仍然可以分享,但是我分享时无论事件在不在都没有标题,求大佬解答

1 回复
xiuyinglai
xiuyinglai1 楼5 年前

分享是否成功已经没有了,你还success,fail