import { RouteConfig } from 'vue-router'

/**
 * 考勤路由
 */

export const attendanceRoutes: Array<RouteConfig> = [
  {
    path: '/attendance',
    component: () => import('@/layout/home.vue'),
    redirect: '/attendance/home',
    children: [
      {
        path: 'home',
        name: 'Attendance',
        component: () => import('@/views/attendance/attendance.vue'),
        meta: {
          title: '考勤打卡'
        }
      }
    ]
  }
]
