Newer
Older
SpaceIntegration_front / src / router / modules / home.ts
dutingting on 13 Jul 2023 644 bytes 框架、巡检任务管理列表
import type { Route } from '@/global'

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

const routes: Route.recordRaw[] = [
  {
    path: '/home',
    component: Layout,
    redirect: '/home/map',
    name: 'Home',
    meta: {
      title: '首页',
      icon: 'ep:key',
      auth: '/home',
    },
    children: [
      {
        path: '/map',
        component: () => import('@/views/home/index.vue'),
        name: 'HomeMap',
        meta: {
          title: '首页',
          icon: 'ep:key',
          auth: '/home/map',
          sidebar: false,
          breadcrumb: false,
        },
      },
    ],
  },

]

export default routes