Skip to content

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

Closed
@tombien

Description

@tombien

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions