在jinja中,变量loop.index保存当前运行循环的迭代次数.
当我有嵌套循环时,如何在内循环中获得外循环的当前迭代?
template-engine jinja2
jinja2 ×1
template-engine ×1