[Vuejs]-Why the property in data doesnt update in setInterval

0👍

You’ll need to cancel the previous interval and re-start it with the new speed. For example

forward () {
  clearInterval(this.mapLoop)
  this.speed -= 500
  this.moveMarker()
}

Leave a comment