From f109a7f75ddc1bbec14df4b92efc01bae208ad8c Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 20 六月 2024 17:54:36 +0800
Subject: [PATCH] 答题器优化

---
 src/components/matching/matching.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/components/matching/matching.vue b/src/components/matching/matching.vue
index f0d49c7..a1f76a1 100644
--- a/src/components/matching/matching.vue
+++ b/src/components/matching/matching.vue
@@ -341,11 +341,13 @@
         const rightIndex = this.question.options.linkValues.findIndex(
           (citem) => citem.oldId == item.oldId
         );
+
         answerArr.push({
           left: index,
           right: rightIndex,
         });
       }
+      console.log(this.question.userChoise,answerArr);
       this.isRight = this.areArraysEqual(this.question.userChoise, answerArr);
       this.isShowAnswer = true;
     },

--
Gitblit v1.9.1