From d5e4f6d62943640cdf4b89288546d3f779f43f7f Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 06 Jan 2022 11:44:42 +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..d0f5bcd 100644
--- a/public/map/index.html
+++ b/public/map/index.html
@@ -43,7 +43,13 @@
if(ISinit == null){
init(openId,null);
}
-
+ function locations() {
+ require(["dojo/topic"],
+ function (topic) {
+ topic.publish("location", "2323");
+ }
+ );
+ }
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