Эх сурвалжийг харах

fix answerAllQuestions bug

Michael Wang 6 жил өмнө
parent
commit
d5ffe89261

+ 1 - 1
src/features/OnlineExam/Examing/ExamingHome.vue

@@ -415,7 +415,7 @@ export default {
     },
     async answerAllQuestions(ignoreDirty) {
       const answers = this.examQuestionList
-        .filter(eq => !ignoreDirty && eq.dirty)
+        .filter(eq => (ignoreDirty ? true : eq.dirty))
         .filter(eq => eq.getQuestionContent)
         .map(eq => {
           return Object.assign(