从 MustacheJS 中的对象数组访问值
Accessing values from an array of objects in MustacheJS
如何在 MustacheJS 中访问对象数组中的值?例如,使用 {{foo[0].bar}}
不会产生有效的渲染。
用点(.
)完成
{{foo.0.bar}}
如何在 MustacheJS 中访问对象数组中的值?例如,使用 {{foo[0].bar}}
不会产生有效的渲染。
用点(.
)完成
{{foo.0.bar}}