<span class="info_title">성별: {%if {{animal['sexCd']}} == 'M' %}{%else%}{%endif%}</span>
此代码发生jinja2.exceptions.TemplateSyntaxError: expected token ':',got '}'
我不知道为什么ㅠㅠ
<span class="info_title">성별: {%if {{animal['sexCd']}} == 'M' %}{%else%}{%endif%}</span>
此代码发生jinja2.exceptions.TemplateSyntaxError: expected token ':',got '}'
我不知道为什么ㅠㅠ