This commit is contained in:
chengdandan 2023-02-06 10:44:03 +08:00
parent 2930175d01
commit 08d9af239b
1 changed files with 2 additions and 1 deletions
src/views

View File

@ -372,8 +372,9 @@ export default {
if (this.$route.query.type == '实时视频') { if (this.$route.query.type == '实时视频') {
this.videoAnalysisShow = false; this.videoAnalysisShow = false;
this.trafficAnalysisShow = false; this.trafficAnalysisShow = false;
document.getElementById('mapModule').contentWindow.lixianVideo(JSON.stringify(this.analysis));
this.createMqtt(); this.createMqtt();
document.getElementById('mapModule').contentWindow.lixianVideo(JSON.stringify(this.analysis));
} else if (this.$route.query.type == '离线视频'){ } else if (this.$route.query.type == '离线视频'){
this.videoAnalysisShow = true; this.videoAnalysisShow = true;
this.trafficAnalysisShow = true; this.trafficAnalysisShow = true;