我有这种格式的数据
"numbers":[
{
"callFlow":{
"type":"RING-ONE"
},
"number":"111111111"
}
]
而且我的html看起来像这样
{{#each numbers}}
{{number}}
{{callFlow.type}}
{{/each}}
预期输出为
111111111
RING-ONE
但是我得到输出为
111111111
这是您要寻找的:
{{#each numbers}}
{{this.number}}
{{this.callFlow.type}}
{{/each}}