From 66d96053e0283c081b95bed87afa42e837389a7e Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 29 五月 2024 14:24:09 +0800
Subject: [PATCH] swiper

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

diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue
index bcc0deb..ce572f4 100644
--- a/src/components/examinations/index.vue
+++ b/src/components/examinations/index.vue
@@ -446,7 +446,6 @@
       cardData:[]
     };
   },
-  inject:['changeQuestionData'],
   mounted() {
     this.cardData = this.cardList
     console.log('this.cardList',this.cardList);
@@ -592,7 +591,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