From 4b0e99956c9b87f1a6dd72795f4f6f33658fdff0 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 11 Apr 2022 14:40:12 +0800
Subject: [PATCH] 地址替换
---
public/xcxMapJQ/js/vueMain.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/public/xcxMapJQ/js/vueMain.js b/public/xcxMapJQ/js/vueMain.js
index f176b0a..f789fb3 100644
--- a/public/xcxMapJQ/js/vueMain.js
+++ b/public/xcxMapJQ/js/vueMain.js
@@ -60,7 +60,7 @@
beginMap(map, data) {
var that = this,
center = [data[0].wd, data[0].jd],
- url = `http://223.82.109.183:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`;
+ url = `http://61.131.136.25:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`;
// url = `http://localhost:89/alarm/alarm/APP-getAlarm?id=${data[0].id}`;
this.nowPosition = center;
axios.post(url).then((res) => {
@@ -304,7 +304,7 @@
var city = position.city; //城市
var addr = position.addr; //详细地址
that.lat = position.lat; //
- that.lng = position.lng; //火星坐标 //TODO 实现业务代码逻辑
+ that.lng = position.lng; //火星坐标 //TODO 实现业务代码逻辑
if (that.LXdhStart != null) {
that.map.removeLayer(that.LXdhStart);
@@ -332,7 +332,7 @@
};
function showErr() {
- //TODO 如果出错了调用此方法
+ //TODO 如果出错了调用此方法
};
geolocation.getLocation(showPosition, showErr, options);
@@ -345,4 +345,4 @@
this.getLocationData();
},
wacth: {}
-})
\ No newline at end of file
+})
--
Gitblit v1.9.3