-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
🧐[问题 | question] 官网的预览项目中路由和菜单与预期不符 #10114
Comments
@chenshuai2144 是我的问题吗 |
This was referenced Aug 12, 2022
This was referenced Aug 19, 2022
Closed
This was referenced Aug 31, 2022
This was referenced Sep 8, 2022
This was referenced Sep 19, 2022
那个地方代码有点乱,等我整理一下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🧐 问题描述 | Problem description
在
config.routes
下有一个/admin路由设置了access: canAdmin
, 按照文档所说access返回false会在菜单中移除且通过url访问会跳转到401页面,在官网的预览项目中以admin身份登录,访问/admin路由会显示404,我通过cli新建的antd-pro-complete
也是和官网一样的问题💻 示例代码 | Sample code
pro create my-app
🚑 其他信息 | Other information
The text was updated successfully, but these errors were encountered: