hermione scenarios
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import AppLayout from '@/layout/AppLayout.vue';
|
||||
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
|
||||
const router = createRouter({
|
||||
@@ -8,17 +9,23 @@ const router = createRouter({
|
||||
path: '/',
|
||||
component: AppLayout,
|
||||
children: [
|
||||
{
|
||||
path: 'scenario',
|
||||
children: [
|
||||
{
|
||||
path: '/scenario',
|
||||
children: [
|
||||
{path: 'list', name: 'scenario-list', component: () => import('@/views/pages/ScenarioExec.vue')},
|
||||
{path: ':id', name: 'scenario-exec', component: () => import('@/views/pages/ScenarioExec.vue')}
|
||||
|
||||
]
|
||||
|
||||
path: '/',
|
||||
name: 'scenario-list',
|
||||
component: () => import('@/views/pages/ScenarioList.vue')
|
||||
},
|
||||
]
|
||||
}
|
||||
{
|
||||
path: 'exec/:id',
|
||||
name: 'scenario-exec',
|
||||
component: () => import('@/views/pages/ScenarioExec.vue')
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user