优化
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<img slot="prefix" src="https://cdn.cunwuyun.cn/slw2.0/images/fp.png">
|
||||
<el-option v-for="(op,i) in splitOps" :key="i" v-bind="op"/>
|
||||
</el-select>
|
||||
<div class="headerBar-item" @click="isShowBar = !isShowBar" :class="[isShowBar ? '' : 'cancel-xt']">
|
||||
<div class="headerBar-item" v-if="monitors.length > 1" @click="isShowBar = !isShowBar" :class="[isShowBar ? '' : 'cancel-xt']">
|
||||
<img src="https://cdn.cunwuyun.cn/slw2.0/images/xt.png">
|
||||
<span>{{ isShowBar ? '视频协同' : '取消协同' }}</span>
|
||||
</div>
|
||||
@@ -38,6 +38,7 @@
|
||||
:ids="ids"
|
||||
:instance="instance"
|
||||
@replay="onReplay"
|
||||
:isLoading.sync="isLoading"
|
||||
@backLiveing="playbackUrls = []"
|
||||
@checkChange="onCheckChange"
|
||||
v-if="!isShowBar && monitors.length"
|
||||
@@ -223,7 +224,6 @@
|
||||
let show = data.deviceStatus == 1 ? 'show' : ''
|
||||
const ids = this.ids.split(',')
|
||||
const index = ids.indexOf(data.id) + 1
|
||||
console.log(index, ids, data.id)
|
||||
if (node.isLeaf) {
|
||||
return (
|
||||
<div class="flexRow">
|
||||
|
||||
Reference in New Issue
Block a user