natasha 3 недель назад
Родитель
Сommit
777cfd0665
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/views/book/courseware/preview/common/RecordScoreWholeBtn.vue

+ 2 - 1
src/views/book/courseware/preview/common/RecordScoreWholeBtn.vue

@@ -303,7 +303,7 @@ export default {
         this.timers = setInterval(() => {
           this.isAllDone = this.judgeIsAllDone(this.recordList);
         }, 1000);
-        this.$emit('updataWholeRecordList', JSON.parse(JSON.stringify(this.recordList)));
+        this.$emit('updataWholeRecordList', this.recordList);
         this.$emit('getWholeRecordIndex', this.wholeRecordSelectList.length - 1);
         this.$emit('changeWholeStatus', this.microWholeStatus, 0);
         // this.handleDestroyRecord();
@@ -675,6 +675,7 @@ export default {
       const results = [];
       let n = 0;
       this.recordScoreIndex = 1;
+      console.log(this.answerRecordList[this.selectWholeIndex]);
       for (const item of this.answerRecordList[this.selectWholeIndex]) {
         try {
           if (item) {