diff --git a/src/view/home.vue b/src/view/home.vue index e944c1e..2bfb3e1 100644 --- a/src/view/home.vue +++ b/src/view/home.vue @@ -464,7 +464,8 @@ export default { let _this = this // if (!this.BMap) return false // let BMap = this.BMap - // alert(Bmap); + alert(Bmap); + alert(new Bmap) var geolocation = new Bmap.Geolocation(); geolocation.getCurrentPosition(function(r) { if (this.getStatus() == BMAP_STATUS_SUCCESS) {