|
|
@ -462,8 +462,6 @@ export default { |
|
|
}, |
|
|
}, |
|
|
getCity(){ |
|
|
getCity(){ |
|
|
let _this = this |
|
|
let _this = this |
|
|
alert(BMap); |
|
|
|
|
|
alert(new BMap) |
|
|
|
|
|
var geolocation = new BMap.Geolocation(); |
|
|
var geolocation = new BMap.Geolocation(); |
|
|
geolocation.getCurrentPosition(function(r) { |
|
|
geolocation.getCurrentPosition(function(r) { |
|
|
if (this.getStatus() == BMAP_STATUS_SUCCESS) { |
|
|
if (this.getStatus() == BMAP_STATUS_SUCCESS) { |
|
|
|