src/views/h5/map/BaiduMap.vue
@@ -111,6 +111,7 @@ const newPoint = new BMapGL.Point(that.userPosition.lng, that.userPosition.lat); that.map.setCenter(newPoint) } that.$emit('getPosition', { point: that.userPosition, address: positionAddressText }) } else { that.$emit('getUserPositionStatus', { status: 'fail' }) }