fix: 主页重定向仪表盘

This commit is contained in:
TsMask
2025-04-28 18:28:21 +08:00
parent 9214474325
commit 5fc9aa7c2f

View File

@@ -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',