Newer
Older
video-monitor-front / src / router / modules / dashboard.ts
liyaguang on 29 May 2023 690 bytes feat(*): 设备管理/目标监测完成
// 首页
import type { Route } from '@/global'

const Layout = () => import('@/layouts/index.vue')
const routes: Route.recordRaw[] = [
  {
    path: '/dashboard',
    component: Layout,
    redirect: '/dashboard/index',
    name: 'dashboard',
    meta: {
      title: '首页',
      icon: 'icon-bench',
      // auth: '/alarm',
    },
    children: [
      {
        path: 'index',
        name: 'index',
        component: () => import('@/views/dashboard/index.vue'),
        meta: {
          title: '首页',
          // auth: '/alarm',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/dashboard',
        },
      },
    ],
  },
]

export default routes