[Vuejs]-Cannot read property of undefined which is set to null in data return by vue js

0👍

Just because of the arrow function,try this one:

.then(function (data) {
    return this.testing = data; // JSON data parsed by `response.json()` call
  })

Leave a comment