From d1e7425d15ac6c6cf784ea1c84963221bd47413d Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期三, 28 二月 2024 17:13:01 +0800
Subject: [PATCH] fix:完善图表

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

diff --git a/src/router/index.ts b/src/router/index.ts
index 3e9fdb9..5e4c968 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -3,7 +3,12 @@
 const routes: Array<RouteRecordRaw> = [
   {
     path: '/',
-    redirect: '/index',
+    redirect: '/login',
+  },
+  {
+    path: '/login',
+    name: 'login',
+    component: () => import('@/views/login.vue'),
   },
   {
     path: '/home',
@@ -14,7 +19,12 @@
         path: '/index',
         name: 'index',
         component: () => import('@/views/index/index.vue'),
-      }
+      },
+        {
+          path: '/daoAnOffice',
+          name: 'daoAnOffice',
+          component: () => import('@/views/daoAnOffice/index.vue'),
+        },
     ]
   },
 ]

--
Gitblit v1.8.0