fix
pyt
2025-03-04 4760be29f0237c9b3445ec067a0e62407efebaff
H5/pages/location/location.vue
@@ -155,6 +155,7 @@
            var myGeo = new BMapGL.Geocoder();
            // 根据坐标得到地址描述    
            myGeo.getLocation(new BMapGL.Point(longitude, latitude), (result) => {
               that.city = result.addressComponents.city
               that.locationList = result.surroundingPois.map((item, index) => {
                  item.id = index + 1
                  return item
@@ -194,7 +195,7 @@
            var myGeo = new BMapGL.Geocoder();
            // 根据坐标得到地址描述    
            myGeo.getLocation(new BMapGL.Point(e.latlng.lng, e.latlng.lat), (result) => {
               console.log(result,'result');
                              this.city = result.addressComponents.city
               if( result.surroundingPois.length>0){
                  this.locationList = result.surroundingPois.map((item, index) => {
                     item.id = index + 1