|
@@ -429,8 +429,8 @@ export default {
|
|
|
success: function(res) {
|
|
|
console.log('getLocation success')
|
|
|
// 30.644118,104.046339
|
|
|
- _this.currentPosition.lat = 30.644118;
|
|
|
- _this.currentPosition.lng = 104.046339;
|
|
|
+ _this.currentPosition.lat = res.latitude;
|
|
|
+ _this.currentPosition.lng = res.longitude;
|
|
|
_this.getAreaCode();
|
|
|
},
|
|
|
fail: function(res) {
|