123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- /** When your routing table is too long, you can split it into small modules**/
- import Layout from '@/layout/index.vue'
- const systemRouter = [{
- path: '/system',
- component: Layout,
- redirect: '/system/user',
- name: 'system',
- meta: {
- title: '系统管理',
- icon: 'Setting',
- },
- children: [
- {
- path: '/system/user',
- component: () => import('@/views/system/user/index.vue'),
- name: 'user',
- meta: { title: '用户管理' , icon: 'MenuIcon'}
- },
- // {
- // path: '/system/dept',
- // component: () => import('@/views/system/dept/index.vue'),
- // name: 'dept',
- // meta: { title: '部门管理' , icon: 'MenuIcon'}
- // },
- // {
- // path: '/system/role',
- // component: () => import('@/views/system/role/index.vue'),
- // name: 'role',
- // meta: { title: '角色管理', icon: 'MenuIcon' }
- // },
- // {
- // path: '/system/menu',
- // component: () => import('@/views/system/menu/index.vue'),
- // name: 'menu',
- // meta: { title: '菜单管理', icon: 'MenuIcon'}
- // },
- // {
- // path: '/system/dictionary',
- // component: () => import('@/views/system/dictionary/index.vue'),
- // name: 'dictionary',
- // meta: { title: '字典管理', icon: 'MenuIcon'}
- // },
- ]
- }]
- export default systemRouter
|