fix(demo): menu `error-log` link to 404 page
修复演示菜单的错误日志页面指向了404的问题
This commit is contained in:
parent
571f28138f
commit
341bd633d8
|
|
@ -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 = {
|
||||||
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 = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
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 @@
|
||||||
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';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue