From 22917583607018ac6aec4378fd6c3eb2e09b9784 Mon Sep 17 00:00:00 2001 From: lfs3 Date: Fri, 20 Sep 2019 22:25:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/home.vue | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) 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(); } From 88e43fc35a3a40e9b47047891b58f47ece7de191 Mon Sep 17 00:00:00 2001 From: lfs3 Date: Fri, 20 Sep 2019 22:36:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E5=BC=B9=E6=A1=86?= =?UTF-8?q?=E5=8E=BB=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/wxLocation.js | 1 - 1 file changed, 1 deletion(-) 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("定位失败") }); });