Browse Source

电视墙修改

彭宇 2 years ago
parent
commit
1d6a401a96
2 changed files with 9 additions and 9 deletions
  1. 5 5
      src/components/TVWall.vue
  2. 4 4
      src/components/TVWalls.vue

+ 5 - 5
src/components/TVWall.vue

@@ -391,12 +391,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)
@@ -527,7 +527,7 @@ export default {
       for (let i = 1; i < length; i++) {
         bfArray.push({"channelId": tvListJson[0].treeLabels[i].labelCode})
       }
-      
+
       if(bfArray.length == 1){
         _this.realTimeVideoDialog([tvListJson[0].treeLabels[1].labelCode]);
       }else{

+ 4 - 4
src/components/TVWalls.vue

@@ -423,12 +423,12 @@ import Cookies from "js-cookie"
         ]
         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)
         }