// qixian-test export default [ { path: '/user', layout: false, routes: [ { path: './', routes: [ { name: 'login', path: './login', component: './user/Login', }, { name: 'login', path: './login', component: './user/Login', }, ], }, { component: './404', }, ], }, { path: '/welcome', name: 'welcome', icon: 'smile', component: './Welcome', }, { path: '/admin', name: 'admin', icon: 'crown', access: 'canAdmin', component: './Admin', children: [ { path: '/admin/sub-page', name: 'sub-page', icon: 'smile', component: './Welcome', }, { component: './404', }, ], }, { name: 'list.table-list', icon: 'table', path: '/list', component: './TableList', }, { path: '/', redirect: '/welcome', component: './404', }, { component: './404', }, ]; // qixian-test