我想包装 2 个 html 元素
这是我的代码 vuejs
<tr>
<th v-for="(item9,index) in product_all" :key="item9.id"><center>Qty</center></th>
<th v-for="(item99,index) in product_all" :key="item99.id"><center>Amount</center></th>
</tr>
这就是我想要的(在 Laravel Blade 中)
<tr>
@foreach($dataProduct['byShowTanggal'] as $row)
<th>Qty</th>
<th>Amount</th>
@endforeach
</tr>