[Vuejs]-Not see syntax error, was working at JSfiddle

2👍

So? xx is undefined. Why did you replaced commits?

If you really want to have different name, then rename the property from data option as well:

//So, you should have
data() {
  return {
    xx: [] // commits renamed or say xx is initialized
  }
}

Leave a comment