-
Notifications
You must be signed in to change notification settings - Fork 461
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
如何加权限 #115
Comments
可以参考ant-design-pro的权限,只需要在utils/core.js做如下更改即可实现,还有记得在具体的页面路由配置中增加authority: ['admin'],代码如下: /**
/**
// return <Route {...routeProps} />; if (indexRoute) { const routesConfig = app => ({ export default app => createRoute(app, routesConfig); |
No description provided.
The text was updated successfully, but these errors were encountered: