[Vuejs]-Creating a v-simple-table table with multiple properties object

0๐Ÿ‘

โœ…

So you can use v-show for the second property and use the index of your v-for rendering.

                <tbody>
                <tr v-for="(item, index) in user_info.titles">
                    <td> {{ item }} </td>
                    <td v-show="user_info.data">{{user_info.data[index]}}</td>
                </tr>
                </tbody>

That solves it.

Leave a comment