소스 검색

线上bug fix:切换题目时,音频组件未更新

刘洋 2 년 전
부모
커밋
86c17c60b5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/features/OnlineExam/Examing/QuestionBody.vue

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

@@ -64,7 +64,7 @@ function getAudioPlayedTimes(name: string) {
 
     <div
       v-for="(item, index) in questionSegements.audios"
-      :key="index"
+      :key="item.src"
       style="
         position: relative;
         font-size: 18px;