spring boot -thymeleaf-遍历list和map

遍历 list如下

th:each

th:each 状态变量 var

遍历map如下(需要双层遍历)

 

controller代码如下

 

posted @ 2019-03-11 20:12  hcss  阅读(938)  评论(0编辑  收藏  举报