西海岸:修复视频预览提示错误问题
This commit is contained in:
parent
ba597c1da4
commit
e4ad24ba8c
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue