refactor: 调整路由结构,使告警板块支持子路由

This commit is contained in:
yangsy
2025-12-26 18:18:34 +08:00
parent 02e29eb4f3
commit 1f23588649
3 changed files with 13 additions and 2 deletions

View File

@@ -23,7 +23,12 @@ const router = createRouter({
},
{
path: 'alarm',
component: () => import('@/pages/alarm-page.vue'),
children: [
{
path: 'alarm-log',
component: () => import('@/pages/alarm-log-page.vue'),
},
],
},
{
path: 'log',