标签: handlebars.js
我想这样做:
{{# each items }} {{ @index }} / {{ items.length }} {{/ each }}
但似乎我无法访问items块内的each。
items
each
对此有什么解决方法吗?
答案 0 :(得分:1)
使用构造:
x