This commit is contained in:
yanran200730
2022-04-22 16:09:07 +08:00
parent 9c0685e4ff
commit 17c74dd956
2 changed files with 7 additions and 12 deletions

View File

@@ -58,7 +58,7 @@
<div class="playback-item" v-for="(item, index) in times" :key="index">
<el-checkbox :label="item.id">
<span>通道{{ index + 1 }}</span>
<PlaybackTime class="playback-item__timeline" :key="'PlaybackTime' + index" :times="item.times"></PlaybackTime>
<PlaybackTime class="playback-item__timeline" :key="'PlaybackTime' + index" v-if="item.times.length" :deviceId="item.id" :times="item.times"></PlaybackTime>
</el-checkbox>
</div>
</el-checkbox-group>