From 65d9be2b6bb3136d5b7635e398b3729e3376dee6 Mon Sep 17 00:00:00 2001 From: 黄何裕 <1053952480@qq.com> Date: 星期五, 12 七月 2024 11:52:04 +0800 Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/~zxq/jxkg-new-ui-student --- src/views/exam-list/data-list/index.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/exam-list/data-list/index.vue b/src/views/exam-list/data-list/index.vue index 29570fe..8f1c21c 100644 --- a/src/views/exam-list/data-list/index.vue +++ b/src/views/exam-list/data-list/index.vue @@ -52,7 +52,6 @@ import { getExamInfo } from '@/api/modules/exam.js'; const examStore = useExamStore(); - const router = useRouter(); const props = defineProps({ @@ -89,7 +88,7 @@ suggestTime: res.data.suggestTime, }); examStore.setExamDetail(res.data.titleList); - examStore.initExam(); + examStore.initExam(res.data.titleList[0].questionType); router.push('/exam'); }).catch(err => { @@ -107,4 +106,4 @@ .bottom-item { margin-right: 30px; } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0