From 673974f85142758e31e474f125d73e67aa29546b Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 26 Jan 2022 09:12:07 +0800
Subject: [PATCH] +
---
src/store/modules/mobile.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/store/modules/mobile.js b/src/store/modules/mobile.js
index cfdaa84..360b0e0 100644
--- a/src/store/modules/mobile.js
+++ b/src/store/modules/mobile.js
@@ -468,7 +468,7 @@
commit("MSET_POPUPDOM", popupsDom);
},
closeMobileWindowsDom({ state, commit, dispatch }) {
- commit("CLOSE_NOWPOSITION");//中断定位获取
+ commit("CLOSE_NOWPOSITION"); //中断定位获取
if (!state.MobileWindowsHide && state.popupsDom) {
state.popupsDom.closeOur();
commit("MSET_MOBILEWINDOWSHIDE", true);
@@ -794,7 +794,8 @@
commit("removerPolyLineIcon");
state.drawALineLayerIcon = new global.DC.VectorLayer("pointLayer");
state.mviewer.addLayer(state.drawALineLayerIcon);
- let post = Str.split(";")[0].split(",");
+ let useStr = Str.split(";");
+ let post = useStr[useStr.length - 1].split(",");
let position = new global.DC.Position(post[0], post[1]);
let billboard = new global.DC.Billboard(
position,
--
Gitblit v1.9.3