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] vur-router怎么重定向?
The text was updated successfully, but these errors were encountered:
{ path:'/goback', redirect:'/' }
Sorry, something went wrong.
路径:{ path: '/a', redirect: '/b' } 命名的路由: { path: '/a', redirect: {name:'/foo'} } 动态重定向目标: { path: '/a', redirect: to => { const { query, params, hash } = to if (params.name) { return /${params.name} } else if (query.to && query.to === "bar") { return /${query.to} } else if (hash === '#baz') { return '/baz' } } }
/${params.name}
/${query.to}
path:"" 或者redirect:"地址"
No branches or pull requests
[vue] vur-router怎么重定向?
The text was updated successfully, but these errors were encountered: