thymeleaf数组下标

时间:2017-10-31 16:26:51   收藏:0   阅读:1067
<tr th:if="${exercisers != null}"th:each="exerciser:${exercisers}">
  <td th:text="${exerciserStat.index+1}"></td> 数组下标
  <td th:text="${exerciser.person.name}"></td>
  <td th:text="${exerciser.person.email}"></td>
  <td th:text="${exerciser.person.phone}"></td>
</tr>

 

原文:http://www.cnblogs.com/linsx/p/7762029.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!