export default [ { path: '/user', layout: false, routes: [ { path: '/user', routes: [ { name: 'login', path: '/user/login', component: './user/Login', }, ], }, { component: './404', }, ], }, { path: '/', component: '../layouts', routes: [ // { // path: '/', // redirect: '/environment', // }, { path: '/environment', name: 'environment', component: './Environment', }, { path: '/equipment', name: 'equipment', component: './Equipment', }, { path: '/runtime', name: 'runtime', component: './Runtime', }, { path: '/runtime/recordList', name: 'recordList', component: './Runtime/RecordList', }, ], }, ];