From 8296816e95bc4c4cba378d2e4bc4d0e1d2d14f90 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 08 七月 2024 09:43:07 +0800
Subject: [PATCH] 发版环境

---
 src/views/exam-list/data-list/index.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/views/exam-list/data-list/index.vue b/src/views/exam-list/data-list/index.vue
index d18e9d9..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({
@@ -73,7 +72,7 @@
     type: 'success',
     disabled: false
   },
-  3: {
+  'finished': {
     text: '宸茬粨鏉�',
     type: 'info',
     disabled: true
@@ -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