12345678910111213141516171819202122232425262728293031323334353637 |
- import { AppRouteRecordRaw } from '../types';
- const routes: AppRouteRecordRaw = {
- path: '/login-home',
- component: () => import('@/views/login/home.vue'),
- children: [
- {
- path: '/login',
- name: 'Login',
- component: () => import('@/views/login/login/index.vue'),
- meta: {
- title: '登录',
- requiresAuth: false,
- },
- },
- {
- path: '/switch-exam',
- name: 'SwitchExam',
- component: () => import('@/views/login/login/SwitchExam.vue'),
- meta: {
- title: '切换考试',
- requiresAuth: true,
- },
- },
- {
- path: '/reset-info',
- name: 'ResetInfo',
- component: () => import('@/views/login/login/ResetInfo.vue'),
- meta: {
- title: '修改个人信息',
- requiresAuth: true,
- },
- },
- ],
- };
- export default routes;
|