vue的路由中报错
vue-router报错
相关代码
[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
…………………………………………//还有百来行
求教是哪里出了问题,怎么修复
头部组件中有一个没对应的<router-link to="/tabs">标签
就是router里面没定义过
注释掉就好了、没有警告了