From c2ddf632c8e642813c89e501d402f06c57369a22 Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期一, 03 三月 2025 16:22:18 +0800
Subject: [PATCH] 国际化配置

---
 src/router/index.ts |   43 +++++++++++++++++++++++++++++--------------
 1 files changed, 29 insertions(+), 14 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index 414b936..a5a6f34 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -5,18 +5,32 @@
   routes: [
     {
       path: '/',
-      redirect: '/mechanism'
+      redirect: '/model'
     },
     {
-      path: '/mechanism',
-      name: 'mechanism',
-      component: () => import('../views/model/Mechanism.vue')
+      path: '/model',
+      name: 'model',
+      redirect: '/model/landerModel',
+      component: () => import('../views/model/index.vue'),
+      children: [
+        {
+          path: '/model/landerModel',
+          name: 'landerModel',
+          component: () => import('../views/model/children/landerModel.vue')
+        },
+        {
+          path: '/model/roverModel',
+          name: 'roverModel',
+          component: () => import('../views/model/children/roverModel.vue')
+        },
+        {
+          path: '/model/leapMachineModel',
+          name: 'leapMachineModel',
+          component: () => import('../views/model/children/leapMachineModel.vue')
+        },
+      ]
     },
-    {
-      path: '/kinematic',
-      name: 'kinematic',
-      component: () => import('../views/model/Kinematic.vue')
-    },
+
     {
       path: '/simulation-config',
       name: 'simulationConfig',
@@ -28,15 +42,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