1. 程式人生 > >freemarker邏輯判斷寫法#if

freemarker邏輯判斷寫法#if

判斷 class position lag mark 邏輯判斷 pre == mar

<li class="<#if (position.flag)! ==‘haha1‘>hide<#else >show</#if>"><a href=" ">按鈕name</a></li>
<li class="<#if (position.flag)! ==‘haha1‘>hide</#if>"><a href=" ">按鈕name</a></li>
 

freemarker邏輯判斷寫法#if