yiming
2024-04-01 f72f8966ba4e1715e8df82d5cf1c7e912b6da719
packageBookService/pages/bookServices/examination/examination.js
@@ -277,8 +277,7 @@
        item.userAnswer = radioChecked
        item.isUserAnswer = this.isHaveAnswer(radioChecked)
        if ((item.questionType == 'singleChoice' || item.questionType == 'judge') && (this.data.answerType == 'collectQuestion' || this.data.answerType == 'errorQuestion') && !item.isComplete) {
          let index = this.data.currentIndex - 1 >= 0 ? this.data.currentIndex - 1 : 0
          this.handleQuestion(index)
          this.handleQuestion(this.data.currentIndex)
        }
      }
    }
@@ -824,9 +823,8 @@
    })
  },
  // 批改题目 (练习,我的错题,我的收藏,,组卷)
  handleQuestion(num) {
  handleQuestion(index) {
    const questionList = this.data.questionDataList
    const index = num
    if (questionList[index].isComplete) {
      // 题目已完成,跳过
      return true