From ae8ae25293d7e63a876ddbdb8933947a9965992f Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 01 七月 2024 09:35:46 +0800
Subject: [PATCH] 连线题优化

---
 src/components/examinations/index.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue
index eddf0e0..5192350 100644
--- a/src/components/examinations/index.vue
+++ b/src/components/examinations/index.vue
@@ -464,14 +464,20 @@
         >淇濆瓨</el-button
       >
       <el-button
-        @click="handleQuestion"
+        @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="openAnswers"
+        @click="(e) => {
+          openAnswers()
+          saveAnswer(e)
+        }"
         class="examinations-btn-box"
         :style="{ borderColor: primaryColor }"
         >鏌ョ湅绛旀</el-button

--
Gitblit v1.9.1