From 3768c08a1b81aafce9fa188586b9728b33a6b2cc Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 29 五月 2024 21:55:50 +0800 Subject: [PATCH] 轮播 --- src/components/examinations/index.vue | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue index bcc0deb..753822b 100644 --- a/src/components/examinations/index.vue +++ b/src/components/examinations/index.vue @@ -426,7 +426,6 @@ props: { cardList: { type: Array, - default: [], }, primaryColor: { type: String, @@ -446,7 +445,6 @@ cardData:[] }; }, - inject:['changeQuestionData'], mounted() { this.cardData = this.cardList console.log('this.cardList',this.cardList); @@ -592,7 +590,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