Browse Source

fix: 修正对象显示问题

ChenYangfan 6 years ago
parent
commit
143a7d21b6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/quiz/DoRecommendQuestion.vue

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

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