diff --git a/src/models/wxLocation.js b/src/models/wxLocation.js index 29fa4ce..d543d26 100644 --- a/src/models/wxLocation.js +++ b/src/models/wxLocation.js @@ -46,7 +46,7 @@ Vue.prototype.wxLocation = function () { dataType: "jsonp", jsonp: "callback", success: function (data) { - alert('data.result:'+data.result); + alert('data.result.location.lng:'+data.result.location.lng + '-----data.result.location.lat:'+data.result.location.lat); } }); },