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 |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 91a47a3..802dfd4 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,11 +1,11 @@
-import { createMemoryHistory, createRouter } from 'vue-router';
+import { createWebHashHistory, createRouter } from 'vue-router';
 
 import Layout from '@/layout/index.vue';
 
 const routes = [
   {
     path: '/',
-    redirect: '/exam'
+    redirect: '/index'
   },
 
   {
@@ -24,7 +24,16 @@
       },
     ]
   },
-  
+  // 鍦ㄧ嚎鍩硅
+  {
+    path: '/train',
+    component: () => import('@/views/train/index.vue'),
+  },
+  // 浼氳
+  {
+    path: '/meet',
+    component: () => import('@/views/meet/index.vue'),
+  },
   // 鑰冭瘯鍒楄〃
   {
     path: '/exam-list',
@@ -44,7 +53,7 @@
 ];
 
 const router = createRouter({
-  history: createMemoryHistory(),
+  history: createWebHashHistory(),
   routes,
 });
 

--
Gitblit v1.8.0