| | |
| | | import type { AppRouteRecordRaw } from '/@/router/types'; |
| | | import { t } from '/@/hooks/web/useI18n'; |
| | | import { |
| | | REDIRECT_NAME, |
| | | LAYOUT, |
| | | EXCEPTION_COMPONENT, |
| | | PAGE_NOT_FOUND_NAME, |
| | | } from '/@/router/constant'; |
| | | import type { AppRouteRecordRaw } from '@/router/types'; |
| | | import { t } from '@/hooks/web/useI18n'; |
| | | import { REDIRECT_NAME, LAYOUT, EXCEPTION_COMPONENT, PAGE_NOT_FOUND_NAME } from '@/router/constant'; |
| | | |
| | | // 404 on a page |
| | | export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = { |
| | |
| | | { |
| | | path: '/redirect/:path(.*)/:_redirect_type(.*)/:_origin_params(.*)?', |
| | | name: REDIRECT_NAME, |
| | | component: () => import('/@/views/sys/redirect/index.vue'), |
| | | component: () => import('@/views/sys/redirect/index.vue'), |
| | | meta: { |
| | | title: REDIRECT_NAME, |
| | | hideBreadcrumb: true, |
| | |
| | | { |
| | | path: 'list', |
| | | name: 'ErrorLogList', |
| | | component: () => import('/@/views/sys/error-log/index.vue'), |
| | | component: () => import('@/views/sys/error-log/index.vue'), |
| | | meta: { |
| | | title: t('routes.basic.errorLogList'), |
| | | hideBreadcrumb: true, |