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
a页面 this.$router.location=a; -> a页面跳转b页面 this.$router.location=b; ->b后退上一页a页面 this.$router.location=b;
The text was updated successfully, but these errors were encountered:
确实有问题,请先用 this.$route.fullPath / this.$route.path 代替
this.$route.fullPath
this.$route.path
logs:
// page a this.$route: {path: "/pages/a", query: {…}, fullPath: "/pages/a"} this.$router: Router {_tabs: Array(0), location: "/pages/a"} // navigate to page b this.$route: {path: "/pages/b", query: {…}, fullPath: "/pages/b"} this.$router: Router {_tabs: Array(0), location: "/pages/b"} // back to page a this.$route: {path: "/pages/a", query: {…}, fullPath: "/pages/a"} this.$router: Router {_tabs: Array(0), location: "/pages/b"}
Sorry, something went wrong.
No branches or pull requests
a页面 this.$router.location=a;
->
a页面跳转b页面 this.$router.location=b;
->b后退上一页a页面 this.$router.location=b;
The text was updated successfully, but these errors were encountered: