[Vuejs]-Vue for loop data format change

0👍

You can use a v-if/else on the key:

<td v-for="key in columnID" :key="key.id"> 
    <span v-if="key === 'bank'">{{entry[key] | toUSD}} </span>
    <span v-else> {{ entry[key] }} </span>
</td>

Leave a comment