//转发按钮事件
tapDialogButton(event) {
wx.updateShareMenu({
withShareTicket: true,
isPrivateMessage: true,
activityId: 'xxx-123',
});
console.log("tapDialogButton");
}
//app.js
onShow: function(object) {
console.log('1111111111111111111...');
console.log(object);
}
真机调试,微信自己转发给自己。 操作,收到了转发消息,点击打开,查看log .