const asyncRoutes = [
  {
    path: '/system',
    component: 'Layout',
    redirect: '/system-manage/menu',
    pid: 0,
    title: 'System',
    meta: {
      title: '系统管理'
    },
    children: [
      {
        path: 'menu',
        component: 'views/system-manage/menu-manage/index',
        title: 'SystemMenu',
        meta: {
          title: '菜单管理'
        }
      },
      {
        path: 'user',
        component: 'views/system-manage/user-manage/index',
        title: 'SystemUser',
        meta: {
          title: '用户管理'
        }
      },
      {
        path: 'role',
        component: 'views/system-manage/role-manage/index',
        title: 'SystemRole',
        meta: {
          title: '角色管理'
        }
      },
      {
        path: 'dept',
        component: 'views/system-manage/department-manage/index',
        title: 'SystemDept',
        meta: {
          title: '部门管理'
        }
      }
    ]
  }
]

module.exports = {
  asyncRoutes
}
