Skip to content
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

Same param in :to in router-link loop from data array. #7283

Closed
tombien opened this issue Dec 19, 2017 · 1 comment
Closed

Same param in :to in router-link loop from data array. #7283

tombien opened this issue Dec 19, 2017 · 1 comment

Comments

@tombien
Copy link

tombien commented Dec 19, 2017

Version

2.5.12

Reproduction link

https://jsfiddle.net/50wL7mdz/84218/

Steps to reproduce

Make loop of router-link with params in :to from data array.

What is expected?

Every router-link iteration has relevant param from array item.

What is actually happening?

Every router-link iteration has same param from first array item.


This bug is in new 2.5.12 version. If you change version to 2.5.11 in the code, everything is OK.
Use developer console to check href parameter of generated links. It is OK in label, but it is wrong in href, which is generated by :to param.

@yyx990803
Copy link
Member

Reverting related changes in 2.5.13.

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

2 participants