src/components/examinations/index.vue
@@ -560,6 +560,7 @@ watch: { cardList: { handler(newVal) { // console.log('新值',newVal); this.cardData = this.cardList; if (newVal && newVal.length) { this.loading = false; @@ -686,7 +687,7 @@ ).errorList; for (let index = 0; index < errorId.length; index++) { const item = errorId[index]; if (oldErrodId.indexOf(item == -1)) { if (oldErrodId.indexOf(item) == -1) { oldErrodId.push(item); } } @@ -857,6 +858,7 @@ ).errorList; } } catch (error) {} console.log('错题列表',this.allError) }) .catch(() => {}); },