【发布时间】:2017-05-28 13:21:44
【问题描述】:
如何打破液体中的两个循环。到目前为止我有,这似乎对我不起作用。
{% for x in a %}
{% for y in b %}
{% if y = 2 %}
{% break %}
// When this loop breaks, the parent for loop should also break
{% endif %}
{% endfor %}
{% endfor %}
【问题讨论】: