Browse Source

fix:监考详情切换后视频列表不更新问题

zhangjie 2 năm trước cách đây
mục cha
commit
95e4ee7577

+ 1 - 1
src/features/invigilation/RealtimeMonitoring/WarningDetail.vue

@@ -445,6 +445,7 @@ export default {
       );
     },
     async getStudentVideo() {
+      this.viewVideos = [];
       const res = await warningStudentDetail({
         examRecordId: this.examRecordId,
       });
@@ -472,7 +473,6 @@ export default {
         records[item.source] = item;
       });
 
-      this.viewVideos = [];
       orderSources.forEach((source) => {
         if (records[source]) {
           this.viewVideos.push(records[source]);