Browse Source

测试百度地图

develop
nesxy 6 years ago
parent
commit
29392d043f
1 changed files with 0 additions and 2 deletions
  1. 2
      src/view/home.vue

2
src/view/home.vue

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

Loading…
Cancel
Save