彭宇 1 anno fa
parent
commit
6a4a836d11
2 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  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)
       }