This commit is contained in:
2026-07-25 23:28:39 +07:00
parent e1753fd450
commit e7b7c1180b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ async function addScenario(name: string) {
}
async function toScenarioEditor(id: number) {
router.push('/scenarios/' + id)
router.push('/scenarios/' + id + '/editor')
}
getScenarios()
+1 -1
View File
@@ -49,7 +49,7 @@ const router = createRouter({
component: ScenariosView,
},
{
path: '/scenarios/:id', // Динамический параметр id
path: '/scenarios/:id/editor', // Динамический параметр id
name: 'ScenariosEditorView',
component: ScenariosEditorView,
},