masumluf
1 month ago
233
9
Vue

How to loop two v-for loop in the same <tr> ?

Posted 1 month ago by masumluf

Dear Developers,

I have 2 arrays and I have to print value from both array in the same tag Like

<tr v-for="data in this.datas(from 1st array)">
<td>{{data from 1st array}}</td>
<td>{{ data from 2nd array}}</td>
</tr>

How can I do that ?

Please sign in or create an account to participate in this conversation.