Skip to content

Could i use 'append' in router.go() ? #911

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

Closed
yinjun1991 opened this issue Nov 17, 2016 · 2 comments
Closed

Could i use 'append' in router.go() ? #911

yinjun1991 opened this issue Nov 17, 2016 · 2 comments

Comments

@yinjun1991
Copy link

use vue-router 1.x, I can write like this:

this.$router.go({
  path: 'upload',
  append: true,
});

but i have try in vue-router 2.x, It seems like can`t work

how can i use 'append' in router.go() ? thanks

@LinusBorg
Copy link
Member

LinusBorg commented Nov 17, 2016

path: this.$route.path + 'upload' maybe?

@xuchao008
Copy link

遇见这个问题了,貌似没人回答

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants