- 添加菜单权限控制
- url 权限控制
This commit is contained in:
6
admin-web/src/layouts/UrlsContext.js
Normal file
6
admin-web/src/layouts/UrlsContext.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import React from 'react';
|
||||
|
||||
// 创建全局的权限控制 context,方便在所有页面使用
|
||||
const UrlsContext = React.createContext({});
|
||||
|
||||
export default UrlsContext;
|
||||
Reference in New Issue
Block a user