From 5919a84367ea48b58c22ec7a8e1f8b76d2bf3b17 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 08 七月 2025 12:18:48 +0800
Subject: [PATCH] ID2611-修复钙英文名称错误

---
 src/router/index.ts |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index e4a5179..e4a8204 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -4,6 +4,8 @@
 import deviceWindows from '../views/deviceWindows.vue'
 import deviceWindows2 from '../views/deviceWindoes2.vue'
 import test from '../views/test.vue'; // 搜索结果页,接收查询参数
+import registerForNutrition from '../views/register/index.vue'
+import registerSuu from '../views/registerSuu/index.vue'
 
 // 定义路由规则,并为每个路由指定类型安全的 props
 const routes: Array<RouteRecordRaw> = [
@@ -18,12 +20,16 @@
     component: test,
     props: true, // 路径参数将作为 props 传递给组件
   },
-//   {
-//     path: '/search',
-//     name: 'Search',
-//     component: Search,
-//     props: (route) => ({ query: route.query.q as string }), // 将查询参数 q 作为 prop 传递给组件
-//   }
+  {
+    path: '/registerForNutrition',
+    name: 'registerForNutrition',
+    component: registerForNutrition
+  },
+  {
+    path: '/register-success',
+    name: 'registerSuu',
+    component: registerSuu
+  }
 ];
 
 // 创建路由器实例,并指定类型

--
Gitblit v1.8.0