|
@@ -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)
|
|
@@ -526,12 +526,12 @@ 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{
|
|
|
+ // if(bfArray.length == 1){
|
|
|
+ // _this.realTimeVideoDialog([tvListJson[0].treeLabels[1].labelCode]);
|
|
|
+ // }else{
|
|
|
_this.ws.createCtrl(params);
|
|
|
_this.playRealMonitorVideo(bfArray)
|
|
|
- }
|
|
|
+ // }
|
|
|
},
|
|
|
setPos() {
|
|
|
let target = document.getElementById(this.domId)
|