fix: 主页重定向仪表盘
This commit is contained in:
@@ -29,13 +29,14 @@ const constantRoutes: RouteRecordRaw[] = [
|
||||
path: '/',
|
||||
name: 'Root',
|
||||
component: BasicLayout,
|
||||
redirect: '/index',
|
||||
redirect: '/monitor/dashboard',
|
||||
children: [
|
||||
{
|
||||
path: '/index',
|
||||
name: 'Index',
|
||||
meta: { title: 'router.index', icon: 'icon-pcduan' },
|
||||
component: () => import('@/views/index.vue'),
|
||||
meta: { title: 'router.index', icon: 'icon-pcduan', hideInMenu: true },
|
||||
redirect: '/monitor/dashboard',
|
||||
// component: () => import('@/views/index.vue'),
|
||||
},
|
||||
{
|
||||
path: '/account',
|
||||
|
||||
Reference in New Issue
Block a user