Dung Diego

up

...@@ -56,12 +56,12 @@ ...@@ -56,12 +56,12 @@
56 <span>@{{ key }} @{{ value }}</span> 56 <span>@{{ key }} @{{ value }}</span>
57 </div> 57 </div>
58 </div> 58 </div>
59 - <div class="row mt-3" v-if="tables.length"> 59 + <div class="row mt-3" v-if="table.length">
60 <div class="col"> 60 <div class="col">
61 <table> 61 <table>
62 <thead> 62 <thead>
63 <tr> 63 <tr>
64 - <th v-for="(value, key) in tables[0]" :key="key"> 64 + <th v-for="(value, key) in table[0]" :key="key">
65 @{{ key }} 65 @{{ key }}
66 </th> 66 </th>
67 </tr> 67 </tr>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 69
70 <tbody> 70 <tbody>
71 <tr v-for="(item, index) in items" :key="index"> 71 <tr v-for="(item, index) in items" :key="index">
72 - <td v-for="(value, key) in tables[0]" :key="key"> 72 + <td v-for="(value, key) in table[0]" :key="key">
73 @{{ item[key] }} 73 @{{ item[key] }}
74 </td> 74 </td>
75 </tr> 75 </tr>
......