Skip to content
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

建议app.vue的生命周期onLaunch 参数中包含path与query #408

Closed
exvu opened this issue May 23, 2019 · 1 comment
Closed

建议app.vue的生命周期onLaunch 参数中包含path与query #408

exvu opened this issue May 23, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@exvu
Copy link

exvu commented May 23, 2019

新功能描述
建议添加app.vue的生命周期onLaunch 参数中传递path与query

现状及问题
微信小程序能通过onLaunch获取参数,但是今天测试h5平台在app.vue的生命周期onLaunch只能拿到scene这一个参数。

尝试方案
对于h5平台 ,临时使用window.location解决无法获取参数的问题

@exvu exvu added the enhancement New feature or request label May 23, 2019
@zhetengbiji
Copy link
Collaborator

HBuilderX alpha 2.0.2 及以上版本已支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants