<if condition="$vo['devstatus'] eq 1">在线<else /> 离线</if>
IF标签用法
<if condition="($name eq 1) OR ($name gt 100) "> value1
<elseif condition="$name eq 2"/>value2 <else /> value3 </if>
<if condition="$vo['devstatus'] eq 1">在线<else /> 离线</if>
<if condition="($name eq 1) OR ($name gt 100) "> value1
<elseif condition="$name eq 2"/>value2 <else /> value3 </if>
转载于:https://www.cnblogs.com/wszz/p/7922348.html