I need to transform a multidimensional array into VUE into a one-dimensional array, since I need to retrieve an array only with the "cod" fields of that array,
new Vue({
el:"#app",
data : {
array_teste : [{cod : '1', nome : 'S'},{cod : '2', nome : 'V'}],
},
computed: {
cat_vender_rec: function() {
return JSON.stringify(this.cat_vender);
}
}
})