From 19116d282271a4446261afb1ba88441b5a2e005e Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 28 五月 2024 17:54:42 +0800
Subject: [PATCH] 答题保存优化

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

diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue
index bcc0deb..0087def 100644
--- a/src/components/examinations/index.vue
+++ b/src/components/examinations/index.vue
@@ -592,7 +592,7 @@
         }
         if(oldData[pageNum]) {
           oldData[pageNum] = oldData[pageNum].filter(citem => asnwerList.findIndex(ditem => ditem.id == citem.id) == -1 )
-          oldData[pageNum].push(asnwerList)
+          oldData[pageNum].push(...asnwerList)
         } else {
           oldData[pageNum] = asnwerList
         }

--
Gitblit v1.9.1