Kaynağa Gözat

fix: fresh questions in test participate page bug fix

ali 2 yıl önce
ebeveyn
işleme
7dcddcabd9

+ 1 - 0
src/components/Widgets/Test/TestConfirmation/TestConfirmation.vue

@@ -68,6 +68,7 @@ export default {
     }
   },
   mounted() {
+    this.$store.commit('Test/updateAnswerBook', null)
     this.getAnswerBook()
   },
   methods: {

+ 1 - 0
src/pages/User/Profile/classroomInfo.vue

@@ -707,6 +707,7 @@ export default {
     }
   },
   mounted () {
+    this.$store.commit('Test/updateAnswerBook', null)
     this.getRegistrationInfo()
     this.mounted = true
     FormBuilderAssist.setAttributeByName(this.testListInputs, 'owner', 'value', this.user.id)