From c7b33fe92cf6d4449ca5919353c15611ae9ad410 Mon Sep 17 00:00:00 2001
From: user1 <10901603+no-distractions1@user.noreply.gitee.com>
Date: 星期五, 28 六月 2024 09:40:32 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 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