From ba6fc3d1957fac8d11f5d9107919dd7cf1bace6f Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期二, 04 六月 2024 17:26:28 +0800
Subject: [PATCH] feat:考试列表布局
---
src/router/index.js | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 725e29e..eaa2e50 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -5,8 +5,9 @@
const routes = [
{
path: '/',
- redirect: '/index'
+ redirect: '/exam-list'
},
+
{
path: '/',
component: Layout,
@@ -23,7 +24,17 @@
},
]
},
-
+
+ // 鑰冭瘯鍒楄〃
+ {
+ path: '/exam-list',
+ component: () => import('@/views/exam-list/index.vue'),
+ },
+ // 鑰冭瘯椤甸潰
+ {
+ path: '/exam',
+ component: () => import('@/views/exam/index.vue'),
+ },
];
const router = createRouter({
--
Gitblit v1.8.0