123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- export default [
- {
- path: '/user',
- layout: false,
- routes: [
- {
- path: '/user',
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './user/Login'
- }
- ]
- }
- ]
- },
- {
- path: '/',
- redirect: '/welcome'
- },
- {
- path: '/welcome',
- name: 'welcome',
- icon: 'HomeOutlined',
- component: './Welcome'
- },
- {
- path: '/role',
- name: 'role',
- icon: 'UserOutlined',
- routes: [
- {
- path: '/role',
- redirect: '/role/system'
- },
- {
- path: '/role/system',
- name: 'system',
- component: './Role/System',
- access: 'authRouteFilter'
- },
- {
- path: '/role/customer',
- name: 'customer',
- component: './Role/Customer',
- access: 'authRouteFilter'
- }
- ]
- }
- ]
|