import type { Route } from '@/global' const Layout = () => import('@/layouts/index.vue') const routes: Route.recordRaw[] = [ { path: '/certManage', component: Layout, redirect: '/certManage/list', name: 'CertManage', meta: { title: '证书管理', icon: 'ep:key', auth: '/certManage', }, children: [ { path: 'list', name: 'CertManageList', component: () => import('@/views/certManage/list.vue'), meta: { title: '证书管理', auth: '/certManage', icon: 'ep:key', sidebar: false, breadcrumb: false, activeMenu: '/certManage', }, }, { path: ':type/:id?', name: 'certManageDetail', component: () => import('@/views/certManage/detail.vue'), meta: { title: '证书管理', icon: 'ep:key', sidebar: false, breadcrumb: true, activeMenu: '/certManage/list', }, }, ], }, ] export default routes