refactor: 调整路由结构,使告警板块支持子路由
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user