diff --git a/src/models/wxLocation.js b/src/models/wxLocation.js index 492ff2c..c7a0dd9 100644 --- a/src/models/wxLocation.js +++ b/src/models/wxLocation.js @@ -64,7 +64,6 @@ Vue.prototype.wxLocation = function () { } // alert("lat:" + localStorage.getItem("latitude") + ";lng:" + localStorage.getItem("longitude")); wx.error(function (res) { - alert("wx-js初始化: " + res); resolve("定位失败") }); }); diff --git a/src/view/home.vue b/src/view/home.vue index 4a96437..b375930 100644 --- a/src/view/home.vue +++ b/src/view/home.vue @@ -475,20 +475,20 @@ export default { localStorage.setItem("longitude", location.creditLongitude); _this.lat = location.creditLatitude; _this.lng = location.creditLongitude; - alert( - "省-" + - location.creditProvince + - ";市-" + - location.creditCity + - ";区-" + - location.creditArea + - ";街道-" + - location.creditStreet + - ";lat-" + - location.creditLatitude + - ";lng-" + - location.creditLongitude - ); + // alert( + // "省-" + + // location.creditProvince + + // ";市-" + + // location.creditCity + + // ";区-" + + // location.creditArea + + // ";街道-" + + // location.creditStreet + + // ";lat-" + + // location.creditLatitude + + // ";lng-" + + // location.creditLongitude + // ); _this.getId(); _this.getAddressInfo(); }