📜  同时循环 jinja - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:20.337000             🧑  作者: Mango

代码示例1
{% for a in list_a %}{% for b in list_b %}
    {% if forloop.counter == forloop.parentloop.counter %}
        {{a}} {{b}}
    {% endif %}
{% endfor %}{% endfor %}