【发布时间】:2018-11-03 19:46:55
【问题描述】:
我正在尝试将按钮添加为 Pug 表中的行元素。 但是按钮没有插入特定行 以下是哈巴狗代码
table
tr#headtag
th DishName
th Quantity
th Currently_Done
th Predicted
th
each order in orders
tr
th=order.dish.name
th=order.numberOfQuantity
th=order.dish.predictedValue
th=order.dish.predictedValue
th=button(class="btn btn-small", type="button") Slett
在浏览器中出现“失败错误”
没有按钮代码可以正常工作。
table
tr#headtag
th DishName
th Quantity
th Currently_Done
th Predicted
each order in orders
tr
th=order.dish.name
th=order.numberOfQuantity
th=order.dish.predictedValue
th=order.dish.predictedValue
【问题讨论】: