From 945cbd86a706804d3d8e9d4da14e159be7e6f3eb Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期一, 17 六月 2024 13:43:02 +0800
Subject: [PATCH] feat(考试):多选题
---
src/router/index.js | 30 ++++++++++++++++++++++++++++--
1 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 725e29e..802dfd4 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,4 +1,4 @@
-import { createMemoryHistory, createRouter } from 'vue-router';
+import { createWebHashHistory, createRouter } from 'vue-router';
import Layout from '@/layout/index.vue';
@@ -7,6 +7,7 @@
path: '/',
redirect: '/index'
},
+
{
path: '/',
component: Layout,
@@ -23,11 +24,36 @@
},
]
},
+ // 鍦ㄧ嚎鍩硅
+ {
+ path: '/train',
+ component: () => import('@/views/train/index.vue'),
+ },
+ // 浼氳
+ {
+ path: '/meet',
+ component: () => import('@/views/meet/index.vue'),
+ },
+ // 鑰冭瘯鍒楄〃
+ {
+ 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({
- history: createMemoryHistory(),
+ history: createWebHashHistory(),
routes,
});
--
Gitblit v1.8.0