Browse Source

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

Michael Wang 5 năm trước cách đây
mục cha
commit
4473ba90bb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>