import type { RouteRecordRawWithMeta } from '../../routes'

export default <RouteRecordRawWithMeta>{
  path: '/jsd',
  component: () => import('@/components/CommonHeader/index.vue'),
  name: 'jsd_wcydtd_head',
  meta: {
    hidden: true,
    sort: 1,
    title: '教师端',
    breadcrumb: false,
  },
  redirect: { name: 'jsd_personal_wcydtd_index' },
  children: [
    {
      path: 'person',
      component: () => import('@/pages/jsd/personal/index.vue'),
      name: 'jsd_personal_wcydtd_index',
      meta: {
        hidden: true,
        sort: 0,
        title: '个人中心',
        breadcrumb: false,
      },
      redirect: { name: 'jsd_personal_wcydtd' },
      children: [
        {
          path: 'wcydtd',
          component: () => import('@/pages/jsd/wcydtd/index.vue'),
          name: 'jsd_personal_wcydtd',
          meta: {
            hidden: false,
            sort: 0,
            title: '我参与的团队',
            breadcrumb: false,
          }
        }
      ]
    }
  ]
}
