提交 341bd633 作者: 无木

fix(demo): menu `error-log` link to 404 page

修复演示菜单的错误日志页面指向了404的问题
上级 571f2813
...@@ -57,9 +57,11 @@ export const ERROR_LOG_ROUTE: AppRouteRecordRaw = { ...@@ -57,9 +57,11 @@ export const ERROR_LOG_ROUTE: AppRouteRecordRaw = {
path: '/error-log', path: '/error-log',
name: 'ErrorLog', name: 'ErrorLog',
component: LAYOUT, component: LAYOUT,
redirect: '/error-log/list',
meta: { meta: {
title: 'ErrorLog', title: 'ErrorLog',
hideBreadcrumb: true, hideBreadcrumb: true,
hideChildrenInMenu: true,
}, },
children: [ children: [
{ {
...@@ -69,6 +71,7 @@ export const ERROR_LOG_ROUTE: AppRouteRecordRaw = { ...@@ -69,6 +71,7 @@ export const ERROR_LOG_ROUTE: AppRouteRecordRaw = {
meta: { meta: {
title: t('routes.basic.errorLogList'), title: t('routes.basic.errorLogList'),
hideBreadcrumb: true, hideBreadcrumb: true,
currentActiveMenu: '/error-log',
}, },
}, },
], ],
......
...@@ -181,7 +181,7 @@ const feat: AppRouteModule = { ...@@ -181,7 +181,7 @@ const feat: AppRouteModule = {
}, },
}, },
{ {
path: 'error-log', path: '/error-log',
name: 'ErrorLog', name: 'ErrorLog',
component: () => import('/@/views/sys/error-log/index.vue'), component: () => import('/@/views/sys/error-log/index.vue'),
meta: { meta: {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
import DetailModal from './DetailModal.vue'; import DetailModal from './DetailModal.vue';
import { BasicTable, useTable, TableAction } from '/@/components/Table/index'; import { BasicTable, useTable, TableAction } from '/@/components/Table/index';
import { useModal } from '/@/components/Modal/index'; import { useModal } from '/@/components/Modal';
import { useMessage } from '/@/hooks/web/useMessage'; import { useMessage } from '/@/hooks/web/useMessage';
import { useI18n } from '/@/hooks/web/useI18n'; import { useI18n } from '/@/hooks/web/useI18n';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论