From 5a731fa204428b68f95a2c656c25d35e838d110d Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Tue, 09 Mar 2021 22:43:07 +0800
Subject: [PATCH] 客户管理设备视频与定位已完成

---
 public/map/index.html |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/public/map/index.html b/public/map/index.html
index d801c7e..53bab0e 100644
--- a/public/map/index.html
+++ b/public/map/index.html
@@ -38,9 +38,13 @@
     function getQueryStringByKey(key) {
       return (document.location.search.match(new RegExp("(?:^\\?|&)" + key + "=(.*?)(?=&|$)")) || ['', null])[1];
     }
+    var ISinit = getQueryStringByKey('ISinit');
+    var openId = getQueryStringByKey('openid');
+    if(ISinit == null){
+      init(openId,null);
+    }
 
     function init(openId,locationObj) {
-      $.divselect("#divselect", "#inputselect");
       require(["base/framework", "base/AppEvent"],
         function (framework, AppEvent) {
           _framework = new framework();
@@ -53,8 +57,6 @@
               map.centerAndZoom(new esri.geometry.Point(locationObj.x,locationObj.y, new esri.SpatialReference({ wkid: 4326 })), 14);
             }
           });
-
-          var openId = getQueryStringByKey('openid');
           if (openId) showFun(openId);
         }
       );

--
Gitblit v1.9.3