dedsudiyu 5 days ago
parent
commit
678510d3dc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/alarmWindow/AlertModal.vue

+ 2 - 2
src/components/alarmWindow/AlertModal.vue

@@ -171,8 +171,8 @@ export default {
           this.$set(this,'videoData',{
           this.$set(this,'videoData',{
             width: 400, //(宽度:非必传-默认600)
             width: 400, //(宽度:非必传-默认600)
             height: 210, //(高度:非必传-默认338)
             height: 210, //(高度:非必传-默认338)
-            url: res.data.list[0].streamUrl,
-            cameraIndexCode: res.data.list[0].deviceNo,
+            url: res.data.records[0].streamUrl,
+            cameraIndexCode: res.data.records[0].deviceNo,
           });
           });
         }
         }
       } catch (e) {
       } catch (e) {