2017-05-26 71 views

回答

0

什么你的建议才得以完成这样的:

{% set highscore = 0 %} 
{% set highscore = highscore + 3 %} 

但要谨慎使用Jinja2的变量赋值...特别是因为它涉及到scoping