Skip to content

addRoute() with name couldn't replace the existing rule with the same name. #3517

Open
@klwfwdk

Description

Version

3.5.1

Reproduction link

https://github.com/klwfwdk/addroute-issue

Steps to reproduce

1.click to call router.addRoute() to add a new router named 'About' witch has the same name attribute with a route rule already existing.
2.click router-link 'About'

What is expected?

the route overwrite into new one. The browser should show 'This is an about page New'

What is actually happening?

Still appears as an unupdated component. The browser showed 'This is an about page'

Metadata

Assignees

No one assigned

    Labels

    fixed on 4.xThis issue has been already fixed on the v4 but exists in v3improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions