0
JSON它是從拉:把手不會呈現JSON
unverifiedCompanies=[{"email":"[email protected]","company_number":"09999999","company_name":"Name_123","full_name":"test","phone_number":"xyz"},{"email":"[email protected]","company_number":"09999999","company_name":"Name_123","full_name":"test","phone_number":"xyz"}]
迭代與
{{#each unverifiedCompanies}}
<tr>
<td>{{this}}</td>
<td>{{this.company_name}}</td>
<td>{{this.full_name}}</td>
<td>{{phone_number}}</td>
<td>{{email}}</td>
</tr>
{{/each}}
然而,只有{{this}}
顯示{"email":"[email protected]","company_number":"09999999","company_name":"Name_123","full_name":"test","phone_number":"xyz"}
或{"email":"[email protected]","company_number":"09999999","company_name":"Name_123","full_name":"test","phone_number":"xyz"}
和所有其它的將不顯示。
我錯過了什麼嗎?