diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 2b325201..e38455bc 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -1032,10 +1032,10 @@ const rowClickData = ref(null) // 打开视频预览 const openVideo = (id, item) => { + rowClickData.value = item // 单个预览 if (item && item.status != 1) { - rowClickData.value = item - return message.warning('当前设备离线!') + return message.warning('当前设备离线, 不可预览!') } console.log('打开视频', id) const param = {