vuejs / router

🚦 The official router for Vue.js
https://router.vuejs.org/
MIT License
3.84k stars 1.18k forks source link

导致路由功能崩掉的bug Invalid VNode type: undefined (undefined) #2045

Closed braincircuits closed 9 months ago

braincircuits commented 9 months ago

Reproduction

Steps to reproduce the bug

image 这是路由配置

通过浏览器 访问 http://127.0.0.1:5173/#/auth/roleinfo 点击页面中的按钮

\test\

就会抛出异常。

image 此时点击其它路由### \test2\ image

Expected behavior

希望能正常。

Actual behavior

无法使用

Additional information

vue版本 3.3.8 image

route版本 4.2.5 image

braincircuits commented 9 months ago

先点击 \test2\ 则是正常的

posva commented 9 months ago

Don't open issues without reproductions like asked, thanks.