feat(workbench): add workbench page

This commit is contained in:
vben
2020-10-11 16:04:54 +08:00
parent 21d0ed92df
commit 1cd75fcf5b
10 changed files with 609 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ export default {
path: '/dashboard',
name: 'Dashboard',
component: PAGE_LAYOUT_COMPONENT,
redirect: '/dashboard/welcome',
redirect: '/dashboard/workbench',
meta: {
icon: 'ant-design:home-outlined',
title: 'Dashboard',
@@ -20,7 +20,15 @@ export default {
name: 'Welcome',
component: () => import('/@/views/dashboard/welcome/index.vue'),
meta: {
title: '欢迎页',
title: '页',
},
},
{
path: '/workbench',
name: 'Workbench',
component: () => import('/@/views/dashboard/workbench/index.vue'),
meta: {
title: '工作台',
affix: true,
},
},