refactor: refactor dashboard

This commit is contained in:
Vben
2021-03-31 23:52:11 +08:00
parent b9b470f4df
commit 8a14069e71
89 changed files with 1457 additions and 2471 deletions

View File

@@ -6,14 +6,26 @@ const menu: MenuModule = {
menu: {
name: t('routes.dashboard.dashboard'),
path: '/dashboard',
tag: {
dot: true,
type: 'warn',
},
children: [
{
path: 'workbench',
name: t('routes.dashboard.workbench'),
},
{
path: 'analysis',
name: t('routes.dashboard.analysis'),
tag: {
dot: true,
type: 'warn',
},
},
{
path: 'workbench',
name: t('routes.dashboard.workbench'),
tag: {
dot: true,
type: 'warn',
},
},
],
},

View File

@@ -7,7 +7,7 @@ const dashboard: AppRouteModule = {
path: '/dashboard',
name: 'Dashboard',
component: LAYOUT,
redirect: '/dashboard/workbench',
redirect: '/dashboard/analysis',
meta: {
icon: 'ion:grid-outline',
title: t('routes.dashboard.dashboard'),
@@ -26,6 +26,7 @@ const dashboard: AppRouteModule = {
name: 'Analysis',
component: () => import('/@/views/dashboard/analysis/index.vue'),
meta: {
affix: true,
title: t('routes.dashboard.analysis'),
},
},