【发布时间】:2017-12-27 13:34:34
【问题描述】:
如何将价格数组添加到 Jade 中的第二个“td”标签?我希望它是迭代。有可能吗?
- 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 ???
谢谢, 西蒙
【问题讨论】: