1
如何将价格数组添加到Jade中的第二个'td'标签?我希望它是迭代。可能吗?Jade迭代到HTML表格
- var item = ['Item1', 'Item2', 'Item3']
- var price = ['40', '90', '140']
table.pricetable
thead
tr
th item
th price
tbody
each a in item
tr
td #{a}
td ???
感谢, 西蒙
你2分钟打我哈哈 –