quanyawei
2024-01-10 bbdaee6bfef24425b533d67ba13adb838403b792
地图修改
1 files modified
9 ■■■■■ changed files
src/views/toCarryOutLegislativeReforms/components/locationMap.vue 9 ●●●●● 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
      }
    },