소스 검색

电视墙修改

彭宇 1 년 전
부모
커밋
6a4a836d11
2개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  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)
       }