From f2b450b76a1b161728c6008de07671f14631b34d Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期一, 03 三月 2025 10:47:17 +0800 Subject: [PATCH] 模型库菜单 --- src/router/index.ts | 33 +++++++++++++++++++-------------- 1 files changed, 19 insertions(+), 14 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 414b936..a321f8d 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -5,18 +5,22 @@ routes: [ { path: '/', - redirect: '/mechanism' + redirect: '/model' }, { - path: '/mechanism', - name: 'mechanism', - component: () => import('../views/model/Mechanism.vue') + path: '/model', + name: 'model', + redirect: '/model/childrenModel01', + component: () => import('../views/model/index.vue'), + children: [ + { + path: '/model/childrenModel01', + name: 'childrenModel01', + component: () => import('../views/model/children/childrenModel01.vue') + }, + ] }, - { - path: '/kinematic', - name: 'kinematic', - component: () => import('../views/model/Kinematic.vue') - }, + { path: '/simulation-config', name: 'simulationConfig', @@ -28,15 +32,16 @@ component: () => import('../views/simulation/Result.vue') }, { + path: '/simulation-test', + name: 'simulationTest', + component: () => import('../views/simulation/test.vue') + }, + { path: '/system/user', name: 'systemUser', component: () => import('../views/system/User.vue') }, - { - path: '/system/permission', - name: 'systemPermission', - component: () => import('../views/system/Permission.vue') - } + ] }) -- Gitblit v1.9.1