先来聊聊if,与其他语言相同,if用来进行条件判断,在jinja2中,if的语法如下:. {% if 条件%} ... <do something> if <something is true> else <do something else>.
確定! 回上一頁