【发布时间】:2017-09-15 05:20:22
【问题描述】:
table
tbody
tr
th ID
th Product Name
th Price
th Category
th Action
if data.length
each item in data
tr
td #{item['_id']}
td #{item['product_name']}
td #{item['price']}
td #{item['category']}
td
对于此代码,我收到错误 can't read property 'length' of type undefined
【问题讨论】: