src/views/toCarryOutLegislativeReforms/components/locationMap.vue | ●●●●● patch | view | raw | blame | history |
src/views/toCarryOutLegislativeReforms/components/locationMap.vue
@@ -105,12 +105,13 @@ }) } else { this.map.clearMap() let marker = new AMap.Marker({ that.marker = new AMap.Marker({ map: map, position: this.$parent.position position: that.$parent.position }) marker.setMap(map) marker.setAnimation('AMAP_ANIMATION_BOUNCE') that.marker.setMap(map) that.map.setCenter(that.$parent.position) that.marker.setAnimation('AMAP_ANIMATION_BOUNCE') this.placeSearchName = this.$parent.address } },