From 558dece1afc4bf48f47528ed83a8cfd72eb00a38 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 06 六月 2024 14:49:00 +0800
Subject: [PATCH] chore:修改路由
---
src/router/index.js | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 725e29e..726610c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -7,6 +7,7 @@
path: '/',
redirect: '/index'
},
+
{
path: '/',
component: Layout,
@@ -23,7 +24,23 @@
},
]
},
+
+ // 鑰冭瘯鍒楄〃
+ {
+ path: '/exam-list',
+ component: () => import('@/views/exam-list/index.vue'),
+ },
+ // 鑰冭瘯椤甸潰
+ {
+ path: '/exam',
+ component: () => import('@/views/exam/index.vue'),
+ },
+ // 鎴愮哗鍗曞垪琛�
+ {
+ path: '/grade-list',
+ component: () => import('@/views/grade-list/index.vue'),
+ },
];
const router = createRouter({
--
Gitblit v1.8.0