[Vuejs]-How to solve "Uncaught (in promise) TypeError: response.body.forEach is not a function" ? (vue.js 2)

0👍

Use

Object.keys(response.body).map(function(key) {
    this.$set(this.options, key, response.body[key]);
});

Leave a comment