From c6f680f1c6ef9fa990c654633767b5b3ad4b0aff Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期四, 13 六月 2024 14:58:27 +0800 Subject: [PATCH] fix(考试):修改答题卡选择问题 --- src/router/index.js | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 726610c..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'; @@ -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