|
|
|
@ -240,14 +240,7 @@ export default { |
|
|
|
}); |
|
|
|
}); |
|
|
|
// _this.realplay(); |
|
|
|
// _this.realplay(); |
|
|
|
console.log('length ===>',this.cameraList.length) |
|
|
|
console.log('length ===>',this.cameraList.length) |
|
|
|
this.splitNum = |
|
|
|
this.splitNum = (this.cameraList.length > 1 && this.cameraList.length <= 4) ? 2 : (this.cameraList.length > 4 && this.cameraList.length <= 9 ) ? 3 : this.cameraList.length > 9 ? 4 : 1; |
|
|
|
this.cameraList.length > 1 |
|
|
|
|
|
|
|
? 2 |
|
|
|
|
|
|
|
: this.cameraList.length > 4 |
|
|
|
|
|
|
|
? 3 |
|
|
|
|
|
|
|
: this.cameraList.length > 9 |
|
|
|
|
|
|
|
? 4 |
|
|
|
|
|
|
|
: 2; |
|
|
|
|
|
|
|
this.arrangeWindow() |
|
|
|
this.arrangeWindow() |
|
|
|
this.queryLive(); |
|
|
|
this.queryLive(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|