push data after add item vuejs code example
Example: push values to data object in vue
let vm = this;
function getData (rss) {
rss.forEach(episodeData => {
// console.log(episodeData)
const data = {
'id': episodeData.created,
'desc': episodeData.description
}
vm.episodes.push(data)
})
}