Files
lingji-work-fe/src/router/routes/base.ts

36 lines
846 B
TypeScript
Raw Normal View History

2025-06-16 14:42:26 +08:00
import type { RouteRecordRaw } from 'vue-router';
import { REDIRECT_ROUTE_NAME } from '@/router/constants';
2025-07-08 16:55:04 +08:00
// export const REDIRECT_MAIN: RouteRecordRaw = {
// path: '/redirect',
// name: 'redirect',
// meta: {
// requiresAuth: false,
// requireLogin: false,
// hideInMenu: true,
// },
// children: [
// {
// path: '/redirect/:path',
// name: REDIRECT_ROUTE_NAME,
// component: () => import('@/layouts/Basic.vue'),
// meta: {
// requiresAuth: false,
// requireLogin: false,
// hideInMenu: true,
// },
// },
// ],
// };
2025-06-16 14:42:26 +08:00
export const NOT_FOUND_ROUTE: RouteRecordRaw = {
path: '/:pathMatch(.*)*',
name: 'notFound',
component: () => import('@/layouts/NotFound.vue'),
2025-07-08 16:55:04 +08:00
meta: {
requiresAuth: false,
hideInMenu: true,
hideSidebar: true,
},
2025-06-16 14:42:26 +08:00
};