From 5165ee09de8555e12fb44c458a3d04e41f58e28f Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 12 十一月 2024 15:18:43 +0800
Subject: [PATCH] 完成错题详情查看

---
 src/views/grade-list/data-list/index.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/views/grade-list/data-list/index.vue b/src/views/grade-list/data-list/index.vue
index 698bf01..03c1b52 100644
--- a/src/views/grade-list/data-list/index.vue
+++ b/src/views/grade-list/data-list/index.vue
@@ -91,7 +91,6 @@
 
 const checkExam = (item) => {
   getGradeInfo(item.id).then((res) => {
-    console.log(res.data);
     const {id,examName, score,navbar,titleItems} = res.data;
     gradeStore.setExamInfo({
       id,
@@ -100,7 +99,7 @@
       navbar
     });
     gradeStore.setExamDetail(titleItems);
-    gradeStore.initExam();
+    gradeStore.initExam(res.data.titleItems[0].questionType);
     router.push('/grade');
   }).catch(err => {
 
@@ -118,4 +117,4 @@
 .bottom-item {
   margin-right: 30px;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0