0👍
Try this instead:
{
rut:"06152617-K",
full_name:"",
total_days:30
}
If you want to access this values you can do as you did before: post.rut
And if you wish to continue having array in object try this instead in html:
<tbody>
<tr v-for="post in posts">
<td v-for="(r,index) in post.rut">
{{ r[index] }}
</td>
</tr>
</tbody>
Above code will loop over array of rut and create tds of array length
- [Vuejs]-Even if data is entered from outside the app, it will not be reflected
- [Vuejs]-Failed to run vue serve command on a .vue file
Source:stackexchange.com