@@ -25,10 +25,12 @@
path: '/role',
name: 'role',
icon: 'UserOutlined',
- access: 'canAdmin',
- component: './Role',
routes: [
{
+ path: '/role',
+ redirect: '/Role/System'
+ },
+ {
path: '/role/system',
name: 'system',
component: './Role/System',
@@ -0,0 +1,12 @@
+import { Card } from 'antd'
+import React from 'react'
+
+const index = () => {
+ return (
+ <div>
+ <Card>客户管理</Card>
+ </div>
+ )
+}
+export default index
+ <Card>系统管理</Card>
@@ -0,0 +1,11 @@
+ <h2>角色权限管理</h2>