有没有办法实现这样的事情:
{{#each firstArray as |first|}}
{{#each secondArray as |second|}}
// this should be value of object from second array with key from first array
{{second[first]}}
{{/each}}
{{/each}}
最佳答案
关于javascript - Handlebars 中嵌套的 'each' block ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32897353/