From 2c2bc8614c8ea0ce386369eb4924da1e6aa052d1 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Wed, 27 Sep 2023 09:35:57 +0800
Subject: [PATCH] 添加环境配置区分

---
 src/router/index.ts |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index 389fd64..44b103d 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -9,7 +9,7 @@
 const routes: Array<RouteRecordRaw> = [
   {
     path: '/',
-    redirect: '/' + ERouterName.PROJECT_LIST
+    redirect: '/' + ERouterName.LOGIN
   },
   // // 首页 登陆页面
   {
@@ -27,11 +27,6 @@
         path: '/' + ERouterName.MEMBERS,
         name: ERouterName.MEMBERS,
         component: () => import('/@/pages/page-web/projects/members.vue')
-      },
-      {
-        path: '/' + ERouterName.DEVICES,
-        name: ERouterName.DEVICES,
-        component: () => import('/@/pages/page-web/projects/devices.vue')
       },
       // 项目列表
       {
@@ -118,7 +113,13 @@
                   }
 
                 ]
-              }
+              },
+
+              {
+                path: '/' + ERouterName.IMPLEMENT,
+                name: ERouterName.IMPLEMENT,
+                component: () => import('/@/pages/page-web/projects/implement.vue')
+              },
             ],
             meta: {
               header: false

--
Gitblit v1.9.3