From 1a161393ef707272bcd534c7cfffd7ea0e60b866 Mon Sep 17 00:00:00 2001
From: jxdnsong <592566207@qq.com>
Date: Sat, 27 Feb 2021 15:54:44 +0800
Subject: [PATCH] 实时报警定位功能完善

---
 src/views/realTimePolice/real.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/realTimePolice/real.vue b/src/views/realTimePolice/real.vue
index da5754f..18106aa 100644
--- a/src/views/realTimePolice/real.vue
+++ b/src/views/realTimePolice/real.vue
@@ -804,7 +804,7 @@
         this.showMap = true;
         this.$nextTick(() => {
           this.$refs.mapDiv.onload = () => {
-            window.frames[0].locationObj = {x: row.jd, y: row.wd};
+            window.frames[0].init(null,{x: row.jd, y: row.wd});
           };
         })
       },

--
Gitblit v1.9.3