视频监控
This commit is contained in:
@@ -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]]
|
||||
|
||||
Reference in New Issue
Block a user