export default [ // { // path: '/user', // layout: false, // routes: [ // { // name: 'login', // path: '/user/login', // component: './User/Login', // }, // { // component: './404', // }, // ], // }, // { // path: '/welcome', // name: 'welcome', // icon: 'smile', // component: './Welcome', // }, { path: '/', redirect: '/rotationChart/list', }, { path: '/rotationChart/list', name: '轮播图管理', icon: 'smile', component: './rotationChart/list', }, { path: '/rotationChart/add', name: '轮播图新增', icon: 'smile', hideInMenu: true, component: './rotationChart/edit', }, { path: '/rotationChart/edit', name: '轮播图编辑', icon: 'smile', hideInMenu: true, component: './rotationChart/edit', }, { path: '/monitor', name: '监控管理', icon: 'VideoCameraOutlined', component: './monitor/index', }, { path: '/dish/list', name: '菜肴管理', icon: 'VideoCameraOutlined', component: './dish/list', }, { path: '/dish/add', name: '菜肴详情', icon: 'smile', hideInMenu: true, component: './dish/edit', }, { path: '/package/list', name: '套餐管理', icon: 'VideoCameraOutlined', component: './package/index', }, { component: './404', }, ];