-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
implicit params ({ name: 'sub-route' }) don't update when navigating between nested routes #2121
Closed
mudoo opened this issue
Mar 22, 2018
· 7 comments
· Fixed by mariazevedo88/hash-generator-js#5, tghelere/valorize-vidas#4, tghelere/DeliVuery#18, tghelere/dailymages#2 or tghelere/vuestore#4
Closed
implicit params ({ name: 'sub-route' }) don't update when navigating between nested routes #2121
mudoo opened this issue
Mar 22, 2018
· 7 comments
· Fixed by mariazevedo88/hash-generator-js#5, tghelere/valorize-vidas#4, tghelere/DeliVuery#18, tghelere/dailymages#2 or tghelere/vuestore#4
Labels
Comments
mudoo
changed the title
dynamically params can't update
<router-link> dynamically params can't update
Mar 22, 2018
This comment has been minimized.
This comment has been minimized.
posva
changed the title
<router-link> dynamically params can't update
implicit params ({ name: 'sub-route' }) don't update when navigating between nested routes
Mar 23, 2018
Any workaround? |
@reinhardt1053 The workaround is explicitly passing the param: const FooSub1 = {
template: '<router-link :to="{name:\'sub2\', params: { id: $route.params.id}}">sub2</router-link>'
} Sorry for the delay 😅 |
This comment has been minimized.
This comment has been minimized.
Checkout this comment which mighttttt be your problem? #1255 (comment) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
posva
added a commit
that referenced
this issue
Mar 28, 2019
posva
added a commit
that referenced
this issue
Mar 28, 2019
* fix(normalizeLocation): create a copy with non normalized named locations Fix #2121 * test(nested-routes): add e2e test for implicit params * chore(lint): fix
This was referenced Aug 29, 2019
This was referenced Sep 22, 2019
This was referenced Oct 26, 2019
This was referenced Jan 20, 2020
This was referenced Feb 5, 2020
[Snyk] Upgrade vue-router from 3.0.1 to 3.1.4
michaelwybraniec/vue-vuex-jwt-authentication-example#2
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.0.1
Reproduction link
https://jsfiddle.net/67xnq5to/
Steps to reproduce
What is expected?
id==2
What is actually happening?
id is 1
like #1255
The text was updated successfully, but these errors were encountered: