西海岸:修复视频预览提示错误问题

This commit is contained in:
guoyue 2022-10-11 15:07:55 +08:00
parent ba597c1da4
commit e4ad24ba8c
1 changed files with 2 additions and 2 deletions

View File

@ -1032,10 +1032,10 @@
const rowClickData = ref(null) const rowClickData = ref(null)
// //
const openVideo = (id, item) => { const openVideo = (id, item) => {
rowClickData.value = item
// //
if (item && item.status != 1) { if (item && item.status != 1) {
rowClickData.value = item return message.warning('当前设备离线, 不可预览!')
return message.warning('当前设备离线!')
} }
console.log('打开视频', id) console.log('打开视频', id)
const param = { const param = {