From 1043219cb007721626edcbcb77c2c6fd7c392ac1 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期二, 05 三月 2024 16:01:44 +0800
Subject: [PATCH] feat:表格滚动
---
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