From 8ea19a6bb34daab1410f6186992a4c1e90299c92 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 14 Sep 2022 08:54:44 +0800
Subject: [PATCH] 服务器配置

---
 leafletMapOur/loginMap/js/vueMain.js |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/leafletMapOur/loginMap/js/vueMain.js b/leafletMapOur/loginMap/js/vueMain.js
index 8f30fe0..1e2465f 100644
--- a/leafletMapOur/loginMap/js/vueMain.js
+++ b/leafletMapOur/loginMap/js/vueMain.js
@@ -22,11 +22,15 @@
         resultFeedbackPopupShow: false,
         popupDisplay: "none",
 
-        regionName: ''
+        regionName: '',
     },
     methods: {
         getLocalPoliceStation () {
-            window.parent.getRegionName(this.regionName)
+
+            uni.postMessage({
+                data: this.regionName
+            })
+
         },
         getDataList () {
             var that = this
@@ -61,7 +65,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://106.225.193.35:83/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`
             // url = `http://localhost:89/alarm/alarm/APP-getAlarm?id=${data[0].id}`;
             this.nowPosition = center
 
@@ -167,7 +171,8 @@
         }
 
     },
-    created () { },
+    created () {
+    },
     mounted () {
         this.getDataList()
         this.getLocationData()

--
Gitblit v1.9.3