Bladeren bron

fix: 修正对象显示问题

ChenYangfan 6 jaren geleden
bovenliggende
commit
143a7d21b6
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      src/views/quiz/DoRecommendQuestion.vue

+ 2 - 0
src/views/quiz/DoRecommendQuestion.vue

@@ -83,6 +83,8 @@ export default {
   },
   methods: {
     getQuestions () {
+      this.questions = null
+      this.interactiveMap = null
       getRecommendationQuestions({ questionNum: 1 })
         .then(res => {
           this.questions = res.map(question => ({