import BasicLayout from '@/layouts/home'; const meta = {}; const pre = 'role-'; export default { path: '/role', name: 'role', redirect: { name: `${pre}list` }, meta, component: BasicLayout, children: [ { name: `${pre}list`, path: `list`, component: () => import('@/pages/role/list'), meta: { title: '角色管理' } }, ] };