diff --git a/src/layout/components/notice/index.vue b/src/layout/components/notice/index.vue index cd488b7..b447ff3 100644 --- a/src/layout/components/notice/index.vue +++ b/src/layout/components/notice/index.vue @@ -34,7 +34,7 @@ >
@@ -59,6 +59,7 @@ const { proxy } = getCurrentInstance() as ComponentInternalInstance; import { nextTick } from 'vue'; import { useVideosStore } from '@/store/modules/video'; const videosStore = useVideosStore(); +const monitoringArea = ref(''); const warningListStore = useWarningListStore(); const noticeStore = useNoticeStore(); @@ -117,6 +118,7 @@ const handleSee = async (row: any) => { } await videosStore.getVideos(videoId); monitorVideoUrl.value = videosStore.hisUrl; + monitoringArea.value = row.monitoringArea; dialog.visible = true; await nextTick(); initHls(monitorVideoUrl, monitorVideoRef);