thinkphp html中if判断写法

<if condition="$val == 1">

  1

<else />

  2

</if>

posted @ 2020-07-25 14:51  bubuchu  阅读(2207)  评论(0)    收藏  举报