Browse Source

Merge pull request 'fix:删除首页-分析页' (#56) from dev-xjf into master

Reviewed-on: http://120.26.116.243:3000/root/alert-front/pulls/56
master
xiaojinfei 2 weeks ago
parent
commit
21d13a35ad
  1. 22
      src/router/routes/modules/dashboard.ts

22
src/router/routes/modules/dashboard.ts

@ -8,23 +8,23 @@ const dashboard: AppRouteModule = {
name: 'Dashboard', name: 'Dashboard',
component: LAYOUT, component: LAYOUT,
parentId: 0, parentId: 0,
redirect: '/dashboard/analysis', redirect: '/dashboard/workbench',
meta: { meta: {
orderNo: 10, orderNo: 10,
icon: 'ant-design:home-outlined', icon: 'ant-design:home-outlined',
title: t('routes.dashboard.dashboard'), title: t('routes.dashboard.dashboard'),
}, },
children: [ children: [
{ // {
path: 'analysis', // path: 'analysis',
name: 'Analysis', // name: 'Analysis',
component: () => import('@/views/dashboard/analysis/index.vue'), // component: () => import('@/views/dashboard/analysis/index.vue'),
meta: { // meta: {
// affix: true, // // affix: true,
title: t('routes.dashboard.analysis'), // title: t('routes.dashboard.analysis'),
icon: 'ant-design:bar-chart-outlined', // icon: 'ant-design:bar-chart-outlined',
}, // },
}, // },
{ {
path: 'workbench', path: 'workbench',
name: 'Workbench', name: 'Workbench',

Loading…
Cancel
Save