-1
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
對於這個代碼我收到提示無法讀取類型的財產「長度」未定義
謝謝你的幫助 –