Skip to content

The path of the RouteConfig is the same as the alias content, which will cause an infinite loop. #2461

Closed
@chenfengjw163

Description

@chenfengjw163

Version

3.0.1

Reproduction link

https://codepen.io/chenfeng163/pen/qJzxGW

Steps to reproduce

The path of the RouteConfig is the same as the alias content

What is expected?

no error

What is actually happening?

infinite loop


The route of alias overrides the route of the path, causing the path and matchAs to be the same. When the url is parsed, an infinite loop occurs.

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