export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user',
        routes: [
          {
            name: 'login',
            path: '/user/login',
            component: '@/pages/user/Login',
          },
        ],
      },
      {
        component: '@/pages/404',
      },
    ],
  },
  {
    path: '/dashboard',
    name: '工作台',
    icon: 'DashboardOutlined',
    component: './dashboard',
  },  
  {
    path: '/',
    name: '工作台',//暂定
    redirect: '/invoiceFill',
    hideInMenu: true,
  },  
  {
    path: '/invoiceFill',
    name: '班级列表',
    icon: 'ProfileOutlined',
    component: '@/pages/invoiceFill',    
  },
  {
    path: '/invoiceFill/edit.jsx',
    name: '班级编辑',
    icon: 'ProfileOutlined',
    component: '@/pages/invoiceFill/edit.jsx',
    hideInMenu:true
  },

  {
    path: '/',
    redirect: '/welcome',
  },
  {
    component: './404',
  },
];
