From 02ab5b03eba1f1f628ff6b5e9e6e19539928a168 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期五, 12 七月 2024 09:24:59 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 src/components/examinations/index.vue |   32 ++++++++++++++++++++------------
 1 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue
index 3eb2645..30baf98 100644
--- a/src/components/examinations/index.vue
+++ b/src/components/examinations/index.vue
@@ -464,20 +464,24 @@
         >淇濆瓨</el-button
       >
       <el-button
-        @click="(e) =>{
-          handleQuestion()
-          saveAnswer(e)
-        }"
+        @click="
+          (e) => {
+            handleQuestion();
+            saveAnswer(e);
+          }
+        "
         class="examinations-btn-box"
         :style="{ borderColor: primaryColor }"
         >鎻愪氦</el-button
       >
       <el-button @click="redo" class="examinations-btn-box">閲嶅仛</el-button>
       <el-button
-        @click="(e) => {
-          openAnswers()
-          saveAnswer(e)
-        }"
+        @click="
+          (e) => {
+            openAnswers();
+            saveAnswer(e);
+          }
+        "
         class="examinations-btn-box"
         :style="{ borderColor: primaryColor }"
         >鏌ョ湅绛旀</el-button
@@ -556,6 +560,7 @@
   watch: {
     cardList: {
       handler(newVal) {
+        // console.log('鏂板��',newVal);
         this.cardData = this.cardList;
         if (newVal && newVal.length) {
           this.loading = false;
@@ -682,7 +687,7 @@
       ).errorList;
       for (let index = 0; index < errorId.length; index++) {
         const item = errorId[index];
-        if (oldErrodId.indexOf(item == -1)) {
+        if (oldErrodId.indexOf(item) == -1) {
           oldErrodId.push(item);
         }
       }
@@ -853,6 +858,7 @@
               ).errorList;
             }
           } catch (error) {}
+          console.log('閿欓鍒楄〃',this.allError)
         })
         .catch(() => {});
     },
@@ -1204,9 +1210,6 @@
     .referBox {
       display: flex;
       margin-bottom: 10px;
-      /deep/  math {
-        display: flex;
-      }
       span {
         width: 80px;
         color: #999;
@@ -1376,4 +1379,9 @@
   width: 18px;
   object-fit: contain;
 }
+/deep/ .examination-math {
+  display: flex;
+  align-items: center;
+  flex-wrap: wrap;
+}
 </style>

--
Gitblit v1.9.1