From 08d9af239b6508b23b8b77e4d6380f92306c0fe5 Mon Sep 17 00:00:00 2001 From: chengdandan <2549057906@qq.com> Date: Mon, 6 Feb 2023 10:44:03 +0800 Subject: [PATCH] 20230206 --- src/views/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/index.vue b/src/views/index.vue index ece4112c..d3aede4b 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -372,8 +372,9 @@ export default { if (this.$route.query.type == '实时视频') { this.videoAnalysisShow = false; this.trafficAnalysisShow = false; - document.getElementById('mapModule').contentWindow.lixianVideo(JSON.stringify(this.analysis)); + this.createMqtt(); + document.getElementById('mapModule').contentWindow.lixianVideo(JSON.stringify(this.analysis)); } else if (this.$route.query.type == '离线视频'){ this.videoAnalysisShow = true; this.trafficAnalysisShow = true;