视频监控

This commit is contained in:
yanran200730
2022-04-21 15:04:17 +08:00
parent 2fe01ec7cf
commit 49dabf912c
4 changed files with 72 additions and 32 deletions

View File

@@ -39,6 +39,7 @@
:instance="instance"
@replay="onReplay"
@backLiveing="playbackUrls = []"
@checkChange="onCheckChange"
v-if="!isShowBar && monitors.length"
style="width: 100%; height: 68px;">
</Synergy>
@@ -152,6 +153,14 @@
}
},
onCheckChange (e) {
this.monitors.forEach((item, index) => {
if (e.indexOf(item.index) === -1) {
this.monitors.splice(index, 1)
}
})
},
onChange(e) {
if (e === 1 && this.monitors.length) {
this.monitors = [this.monitors[0]]