Преглед изворни кода

input 失去焦点,是由key变化引起的

Michael Wang пре 5 година
родитељ
комит
4473ba90bb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/features/OnlineExam/Examing/FillBlankQuestionView.vue

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

@@ -9,7 +9,7 @@
     </div>
     <div
       v-for="(option, index) in studentAnswer.split('##')"
-      :key="examQuestion.id + index"
+      :key="examQuestion.questionId + index"
       class="option"
     >
       <span class="question-options">{{ index + 1 }}. </span>