We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
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
[vue] 如何获取路由传过来的参数?
The text was updated successfully, but these errors were encountered:
如果使用query方式传入的参数使用this.$route.query 接收 如果使用params方式传入的参数使用this.$router.params接收
query
this.$route.query
params
this.$router.params
Sorry, something went wrong.
https://mp.weixin.qq.com/s?__biz=MzU3MzE2NzIyMA==&mid=2247484157&idx=1&sn=8a7b4512586b1d70d719e9d04d701621&chksm=fcc481e6cbb308f0b58891fe0e738ea3ff0904b940f08f12e649fe8932eb3cc639f911112f18&token=515887516&lang=zh_CN#rd
一个路径参数使用“:”,可以通过this.$route.params获取 路径中有查询参数,可以通过this.$route.query获取
No branches or pull requests
[vue] 如何获取路由传过来的参数?
The text was updated successfully, but these errors were encountered: