button点击分享提示分享功能暂时无法使用?无法触发onShareAppMessage
<button open-type="share">一键分享</button>
onShareAppMessage(res) {
console.log(res, 'share分享')
return {
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
.qdCode, //这是为了传参 onload(data){let id=data.id;}
title: this.tuiguang,
imageUrl: this.bgImg
}
},
[图片]