-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
🧐[问题] ant design pro 使用中发现一个不知道算不算bug的问题,关于不存在的菜单路由,进行展示的问题? #9455
Comments
以下的 Issues 可能会帮助到你 / The following issues may help you
|
这个帮不了我 |
This was referenced Jan 8, 2022
This was referenced Jan 21, 2022
在二级下面配置一个没有 path 的路由就好了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🧐 问题描述
首先我在ant 的预览网站(https://preview.pro.ant.design/dashboard/analysis) 也试过了,存在这个问题
问题:当路由为两级时,比如我的账户管理路由是/baseManager/account,当我地址栏输入的是/baseManage,这个因为不属于我系统的路由,所以会展现404页面,正常的。但是当我第二级路由有问题是,也就是我输入 /baseManager/00,这样的地址时,正常情况下应该还是给出的404页面,因为这个也不是属于我的路由地址,但是实际上显示的却是一个灰色的页面,什么内容都没有,这个发现不知道算不算一个bug,我也不能确定,其实这个影响不大
💻 示例代码
🚑 其他信息
一级路由有问题时,显示的页面
二级路由有问题时,显示的页面
The text was updated successfully, but these errors were encountered: