list 展示字段过长小技巧

1、有内容的应该控制长度

<th class="center" style="width:350px;">资料简介</th>

<td>
<c:choose>
   <c:when test="${fn:length(var.REMARK)>100}">${fn:substring(var.REMARK,0,100)}...</c:when>
</c:choose>
<td>

猜你喜欢

转载自blog.csdn.net/weixin_38948287/article/details/85834188
今日推荐