Browse Source

add cards

xyh123999 1 year ago
parent
commit
193d8e207b
1 changed files with 3 additions and 0 deletions
  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 = ["监控名称", "监控名称", "监控名称", "监控名称", "监控名称"];