<choose>
<when test="">
...
</when>
<otherwise>
...
</otherwise>
</choose>
choose为一个整体,类似于switch;
when相当于if,otherwise相当于else
<choose>
<when test="">
...
</when>
<otherwise>
...
</otherwise>
</choose>
choose为一个整体,类似于switch;
when相当于if,otherwise相当于else
转载于:https://www.cnblogs.com/mike-guo/p/9549591.html