闫增涛
2024-05-28 2f41de15eafb36e984cacbe6b9973e262ea2501d
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
        }