I have a v-for
<div v-for="(m, ind) in arrayMeses" :key="ind" v-if="m" class="mes">
<table border="1" width="100%">
<tbody>
<tr class="mes_title">
<td colspan="7" class="mes_title font-14">
{{ m }} - {{ testeComputed(ind) }}
</td>
</tr>
</tboddy>
</table>
I want to execute a method on each interaction When the data is changed run
I've tried
computed: {
testeComputed: function(ind) {
console.log('m',ind)
return 'teste' + ind
},
},
You are returning an object with all elements of the page I would like to receive the index or the name of the month