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"}
和所有其它的将不显示。
我错过了什么吗?