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