xyh123999 1 год назад
Родитель
Сommit
193d8e207b
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/views/taskScreen.vue

+ 3 - 0
src/views/taskScreen.vue

@@ -804,6 +804,8 @@ export default {
         taskId: this.wholeOutTaskId
       };
       this.currentSubject = subjectName;
+      this.camaraData = [];
+      this.cardData = [];
       const res = await request("/dt_screen/rest/v2/video/videos/getSubjectUrls", "post", params, false);
       let index = 0;
       this.camaraSrc = ["", "", "", "", ""];
@@ -830,6 +832,7 @@ export default {
       };
       this.currentSubject = subjectName;
       const res1 = await request("/dt_screen/rest/v2/video/videos/getSubjectCardUrls", "post", params1, false);
+
       let index1 = 0;
       this.cardSrc = ["", "", "", "", ""];
       this.cardName = ["监控名称", "监控名称", "监控名称", "监控名称", "监控名称"];