From 63ad2c3598400370dd7da5534659fd7e768a0a4a Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 16 May 2022 17:29:46 +0800
Subject: [PATCH] 地址替换
---
public/map/index.html | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/public/map/index.html b/public/map/index.html
index 8228655..fa4f9a8 100644
--- a/public/map/index.html
+++ b/public/map/index.html
@@ -43,7 +43,13 @@
if(ISinit == null){
init(openId,null);
}
-
+ function locations(res) {
+ require(["dojo/topic"],
+ function (topic) {
+ topic.publish("location", res);
+ }
+ );
+ }
function init(openId,locationObj) {
require(["base/framework", "base/AppEvent"],
function (framework, AppEvent) {
@@ -51,7 +57,6 @@
_framework.onSiderContainerShow();
_framework.resize();
_AppEvent = AppEvent;
-
if (locationObj != null){
//获取设备id
window.clientID = locationObj.clientID;
--
Gitblit v1.9.3