From 8ce5acd0a7a61de43cbd2d3d1ece2c6c9287779a Mon Sep 17 00:00:00 2001
From: user1 <10901603+no-distractions1@user.noreply.gitee.com>
Date: 星期一, 24 六月 2024 11:15:05 +0800
Subject: [PATCH] 艺术戏剧(选择题完成)

---
 src/components/examinations/index.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue
index 96953e4..98120c7 100644
--- a/src/components/examinations/index.vue
+++ b/src/components/examinations/index.vue
@@ -560,9 +560,6 @@
     },
   },
   mounted() {
-    // this.cardData = this.cardList
-    // console.log('this.cardList',this.cardList);
-    // console.log('this.cardData',this.cardData);
     this.getCollectIdList();
     this.getErrorList()
   },
@@ -681,7 +678,10 @@
           oldErrodId.push(item)
         }
       }
-      this.allError[1].errorList = oldErrodId
+      for (let cindex = 0; cindex < this.allError.length; cindex++) {
+        const citem = this.allError[cindex];
+        if(citem.type == this.sourceType) citem.errorList = oldErrodId
+      }
       this.MG.identity
         .setUserKey({
           setKeyRequests: [
@@ -775,7 +775,7 @@
         const item = this.allCollect[index];
         if (item.type == this.sourceType) item.collectList = this.collectList;
       }
-      console.log(this.allCollect, this.collectList, list);
+      // console.log(this.allCollect, this.collectList, list);
       this.MG.identity
         .setUserKey({
           setKeyRequests: [
@@ -841,7 +841,6 @@
               ).errorList;
             }
           } catch (error) {}
-          console.log('閿欓鍒楄〃',this.allError);
         });
     },
   },

--
Gitblit v1.9.1