-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信小程序-分享好友失败-onShareAppMessage-函数不触发 #8451
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Jan 6, 2021
谢谢!是我没仔细看文档,已实现功能,麻烦了 |
enableShareAppMessage:true,在app.config.json能全局实现吗,我试了一下貌似不行 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 2.14.1
使用框架: React
复现步骤
分享按钮期望结果
onShareAppMessage() {
const { memberInfo } = this.props.user
console.log('分享~', memberInfo)
// if (res.from === 'button') {
// 来自页面内转发按钮
// }
return {
title:
${memberInfo.name}的会员邀请
,path: '/pages/******/index',
}
}
实际结果
函数没有触发 log打印不出来
环境信息
补充信息
在Taro2可以
The text was updated successfully, but these errors were encountered: