为了账号安全,请及时绑定邮箱和手机立即绑定

如何在 vuejs 中用循环包装 2 个或更多 html 元素

如何在 vuejs 中用循环包装 2 个或更多 html 元素

PHP
狐的传说 2021-09-05 17:56:06
我想包装 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>
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 186 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信