Parcourir la source

电视墙修改

彭宇 il y a 1 an
Parent
commit
6a4a836d11
2 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 4 4
      src/components/TVWall.vue
  2. 4 4
      src/components/TVWalls.vue

+ 4 - 4
src/components/TVWall.vue

@@ -390,12 +390,12 @@ export default {
       ]
       this.setPos()
       this.customizeTree(tvListJson);
-      if(array1.length == 1){
-        _this.realTimeVideoDialog(array1);
-      }else{
+      // if(array1.length == 1){
+      //   _this.realTimeVideoDialog(array1);
+      // }else{
         _this.ws.createCtrl(params);
         _this.playRealMonitorVideo(array)
-      }
+      // }
       setTimeout(() => {
         _this.rotation(longitude,latitude,array1)
       }, 5000)

+ 4 - 4
src/components/TVWalls.vue

@@ -352,12 +352,12 @@ export default {
       ]
       this.setPos()
       this.customizeTree(tvListJson);
-      if(_this.stringList.length == 1){
-        _this.realTimeVideoDialog([_this.stringList[0]]);
-      }else{
+      // if(_this.stringList.length == 1){
+      //   _this.realTimeVideoDialog([_this.stringList[0]]);
+      // }else{
         _this.ws.createCtrl(params);
         _this.playRealMonitorVideo();
-      }
+      // }
       if (_this.data != undefined && _this.data != null) {
         setTimeout( _this.rotation(_this.data.longitude, _this.data.latitude, _this.stringList),5000)
       }