|
|
@ -46,7 +46,7 @@ Vue.prototype.wxLocation = function () { |
|
|
dataType: "jsonp", |
|
|
dataType: "jsonp", |
|
|
jsonp: "callback", |
|
|
jsonp: "callback", |
|
|
success: function (data) { |
|
|
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); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|