From 03a916ac3d1b763e61890dad6befb76545410b87 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期三, 29 五月 2024 14:24:02 +0800 Subject: [PATCH] 优化 --- 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..18f0ae1 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, @@ -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