We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
router-link 标签映射路由跳转: <router-link to="/detail/1">详情</router-link>
router-link
<router-link to="/detail/1">详情</router-link>
/detail/:id
this.$router.push({ path: `/detail/${id}`, });
this.$route.params.id
/detail
this.$router.push({ name: 'detail', params: { id } }
this.$router.push({ path: '/detail', query: { id } }
this.$route.query.id
The text was updated successfully, but these errors were encountered:
No branches or pull requests
router-link
标签映射路由跳转:<router-link to="/detail/1">详情</router-link>
/detail/:id
this.$route.params.id
/detail
this.$route.params.id
/detail
this.$route.query.id
The text was updated successfully, but these errors were encountered: