-
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
微信或者支付宝扫码拉起小程序后的参数如何获取 #1226
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
|
这个获取不了,支付宝小程序官方文档是这样的。
taro的 |
@xiao0502 问题解决了吗?我也遇到同样的问题 @luckyadam this.$router.params这个好像无效 |
this.$router.params对象上有一个q属性吗?还是说this.$router上有一个q属性啊? |
问题描述
微信或者支付宝扫普通链接二维码打开小程序的参数如何获取? 在mpvue或者小程序中,是通过onLoad生命周期获取,taro的componentWillMount 类似于onLoad,但是无法获取,即为undefined
复现步骤
[复现问题的步骤]
[或者可以直接贴源代码,能贴文字就不要截图]
期望行为
报错信息
系统信息
补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]
The text was updated successfully, but these errors were encountered: