-
-
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
<router-link> component is mutating a prop #2938
Labels
Comments
I haven't checked but there is a chance that the problem comes from |
I completely forgot about that PR, thank you @zrh122 ! I will take another look |
posva
added a commit
to zrh122/vue-router
that referenced
this issue
Sep 23, 2019
posva
pushed a commit
that referenced
this issue
Sep 23, 2019
Closed in #2802 |
This was referenced Mar 1, 2020
This was referenced Mar 19, 2020
This was referenced Mar 28, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.6.0
Reproduction link
https://codesandbox.io/embed/vue-template-hf9hq
Steps to reproduce
What is expected?
In
components/Parent.vue
the objectchildRoute
, that is passed as theto
prop of<router-link>
, should not be mutated.What is actually happening?
It is mutated (the key
parent
is added tochildRoute.params
)The text was updated successfully, but these errors were encountered: