[Vue warn]: Error in render: "InternalError: too much recursion"

vue routing error

vue-router error

related codes

[Vue warn]: Error in render: "InternalError: too much recursion"

found in

---> <RouterLink>
       <ElTooltip>
         <VHead> at src\components\common\Header.vue
           <Home> at src\components\common\Home.vue
             <App> at src\App.vue
               <Root> vue.runtime.esm.js:587
InternalError: "too much recursion"
matchRoute http://localhost:8080/app.js:72289:11
    match http://localhost:8080/app.js:72171:13
    redirect http://localhost:8080/app.js:72231:14
    _createRoute http://localhost:8080/app.js:72270:14
    match http://localhost:8080/app.js:72172:18
    redirect http://localhost:8080/app.js:72231:14
    _createRoute http://localhost:8080/app.js:72270:14
    match http://localhost:8080/app.js:72172:18
    redirect http://localhost:8080/app.js:72231:14
    _createRoute http://localhost:8080/app.js:72270:14
    match http://localhost:8080/app.js:72172:18
    redirect http://localhost:8080/app.js:72231:14
    _createRoute http://localhost:8080/app.js:72270:14
    match http://localhost:8080/app.js:72172:18
    redirect http://localhost:8080/app.js:72231:14
    _createRoute http://localhost:8080/app.js:72270:14
    match http://localhost:8080/app.js:72172:18
    redirect http://localhost:8080/app.js:72231:14
    _createRoute http://localhost:8080/app.js:72270:14
    match http://localhost:8080/app.js:72172:18
//

ask for advice on what went wrong and how to fix it


when you write a loop, you should write an endless loop. The reason for this error is that the


route jump is written as an infinite loop because you have used too many recursions.


header component has a non-corresponding < router-link to= "/ tabs" > tag
, that is, the
comment is not defined in router, and there is no warning

.
Menu