Newer
Older
xc-metering-front / src / router / modules / tested.ts
liyaguang on 19 Jul 2023 1015 bytes feat(*): 基础模板搭建以及路由测试
import type { Route } from '@/global'

const Layout = () => import('@/layouts/index.vue')

const routes: Route.recordRaw[] = [
  {
    path: '/tested',
    component: Layout,
    redirect: '/tested/index3',
    name: 'Metering',
    meta: {
      title: '受检设备',
      icon: 'ep:key',
      auth: '/tested/index',
    },
    children: [
      {
        path: '/index3',
        component: Layout,
        redirect: '/index3/list3',
        name: 'Index113',
        meta: {
          title: '区域管理',
          icon: 'ep:key',
          auth: '/tested/index',
        },
        children: [
          {
            path: 'list3',
            name: 'AreaList122',
            component: () => import('@/views/tested/index.vue'),
            meta: {
              title: '区域管理',
              auth: '/tested/index',
              sidebar: false,
              breadcrumb: false,
              activeMenu: '/tested',
            },
          },
        ],
      }],
  },

]

export default routes