Newer
Older
video-monitor-front / src / router / modules / target.ts
liyaguang on 24 May 2023 695 bytes feat(*): 基础路由菜单搭建
// 目标监测
import type { Route } from '@/global'

const Layout = () => import('@/layouts/index.vue')
const routes: Route.recordRaw[] = [
  {
    path: '/target',
    component: Layout,
    redirect: '/target/monitor',
    name: 'target',
    meta: {
      title: '目标监测',
      icon: 'ep:key',
      // auth: '/alarm',
    },
    children: [
      {
        path: 'monitor',
        name: 'monitor',
        component: () => import('@/views/target/index.vue'),
        meta: {
          title: '目标监测',
          // auth: '/alarm',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/target',
        },
      },
    ],
  },
]

export default routes