zengh
2022-04-11 4b0e99956c9b87f1a6dd72795f4f6f33658fdff0
public/loginMap/js/vueMain.js
@@ -61,7 +61,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
@@ -122,7 +122,7 @@
                that.regionName = position.district || position.city
                that.lat = position.lat //
                that.lng = position.lng //火星坐标 //TODO 实现业务代码逻辑
                that.lng = position.lng //火星坐标 //TODO 实现业务代码逻辑
                // 逆地址解析(经纬度到地名转换过程)
                geocoder = new qq.maps.Geocoder({
@@ -174,4 +174,4 @@
    },
    wacth: {}
})
})