-
Notifications
You must be signed in to change notification settings - Fork 61
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
动态路由 #5
Comments
可以看下react-router-dom |
我的意思是登录之后后端吧菜单的权限存入到zustand里面然后与你的路由里面的匹配有权限的才在菜单上渲染出来 而且在URL输入没有权限的页面的时候直接跳转到没有权限的页面 |
每个公司权限技术不一样就没加,react-router-dom里有钩子可以做这件事 |
好的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以加上动态路由吗?
The text was updated successfully, but these errors were encountered: