Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: 源码运行时路由报错: A route named "PageNotFound" has been added as a child of a route with the same name. #5181

Open
5 tasks done
xinSanta opened this issue Dec 19, 2024 · 5 comments

Comments

@xinSanta
Copy link

Version

Vben Admin V2

Describe the bug?

Demo启动运行会报错:
看了报错是不能有两个相同的name,我把name改为不同之后会有问题,刷新页面会404,必须得点击当前菜单之后才能再次显示
4743f30f73e34456e51fb750e6ed936
e5cdfa953a096532830a40f9b134583
1cd3f9b16a3be7dcbdab7b77bce0ba8
380f1aa39fbfb469951d6dce3b3475c

Reproduction

image

System Info

Win10
谷歌
edge

Relevant log output

No response

Validations

@likui628
Copy link
Collaborator

精简版没人维护了

@xinSanta
Copy link
Author

简版没人维护

2版本的后续都不会维护了吗?

@likui628
Copy link
Collaborator

简版没人维护

2版本的后续都不会维护了吗?

v2分支的,如果是bug按理说会修,新功能不会加了

@LelandACM
Copy link

Version

Vben Admin V2

Describe the bug?

Demo启动运行会报错: 看了报错是不能有两个相同的name,我把name改为不同之后会有问题,刷新页面会404,必须得点击当前菜单之后才能再次显示 4743f30f73e34456e51fb750e6ed936 e5cdfa953a096532830a40f9b134583 1cd3f9b16a3be7dcbdab7b77bce0ba8 380f1aa39fbfb469951d6dce3b3475c

Reproduction

image

System Info

Win10
谷歌
edge

Relevant log output

No response

Validations

vue-router不要升级成vue-router4.5.0,用低一点的版本就没有问题

@xinSanta
Copy link
Author

版本

Vben 管理员 V2

描述一下这个错误?

Demo启动运行会报错:再次查看报错是不能有两个相同的名称,我把名称改为不同之后会有问题,刷新页面会404,必须要点击当前菜单之后才能显示4743f30f73e34456e51fb750e6ed936 e5cdfa953a096532830a40f9b134583 1cd3f9b16a3be7dcbdab7b77bce0ba8 380f1aa39fbfb469951d6dce3b3475c

生殖

图像

系统信息

Win10
谷歌
edge

相关日志输出

没有回应

验证

vue-router不要升级成vue-router4.5.0,用低一点的版本就没有问题

还是有问题,试了下虽然降低版本为4.1.6之后没有报那个错了,但是刷新页面为404的问题还存在

chrome_1jghkBFcQM.mp4

lijian3828940 added a commit to lijian3828940/vue-vben-admin that referenced this issue Dec 31, 2024
vue,i18n升级到最新
修部最新包下的部分bug

修复问题 [vbenjs#5183](vbenjs#5181)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants