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

ant design pro v5权限配置不生效问题 #9524

Closed
spring-xql opened this issue Jan 10, 2022 · 2 comments
Closed

ant design pro v5权限配置不生效问题 #9524

spring-xql opened this issue Jan 10, 2022 · 2 comments

Comments

@spring-xql
Copy link

ant design pro v5权限配置不生效问题

ant design pro v5 在routes.ts文件加了access,也在access.ts文件中配置了权限,但是还是不生效。请求大神解答下。

ps:两个项目,我自己这套项目一直在开发功能的却配置权限不生效,另外一套今天下载下来配置却能生效,对比了配置代码几乎都一样。很奇怪啊,麻烦各位大神解答下,有没有遇到同样问题的小伙伴~

image
image

@github-actions
Copy link

以下的 Issues 可能会帮助到你 / The following issues may help you

@laosandegudai
Copy link

看不到你的代码,但是有一点切记如果route里面的权限码(access)在access中木有定义,那么默认会认为有这个权限,通常的判断都是认为木有这个权限码就默认木有权限,这里不太一样。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants