0π
<table>
<template v-for="(field) in mappedFields">
<tr v-for="(val, j) in body[field]" :key="j">
<td>{{ val }} -</td>
</tr>
</template>
</table>
Maybe it help you .
- [Vuejs]-RRule UNTIL date not being saved correctly with timezone
- [Vuejs]-Load Vuex state on startup based on route params
0π
βbodyβ here is not an array. You donβt need to use v-for.
you can directly write
{{body.name}}
It will give you this: ["amine", "bill"]
Further if you want these values you can go for;
{{body.name[0]}} and
{{body.name[1]}}
Source:stackexchange.com