### Version 3.0.1 ### Reproduction link [https://codepen.io/chenfeng163/pen/qJzxGW](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. <!-- generated by vue-issues. DO NOT REMOVE -->