From f5eb93a15ff74eeb8b6b307e3a38b95319c084e1 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期一, 03 三月 2025 10:32:46 +0800 Subject: [PATCH] 更新结构 --- src/router/index.ts | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 414b936..d4ca3cc 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -5,17 +5,17 @@ routes: [ { path: '/', - redirect: '/mechanism' + redirect: '/model' }, { - path: '/mechanism', - name: 'mechanism', - component: () => import('../views/model/Mechanism.vue') + path: '/model', + name: 'model', + component: () => import('../views/model/index.vue') }, { path: '/kinematic', name: 'kinematic', - component: () => import('../views/model/Kinematic.vue') + component: () => import('../views/model/index.vue') }, { path: '/simulation-config', @@ -28,15 +28,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