spring boot -thymeleaf-遍历list和map

遍历 list如下

th:each

th:each 状态变量 var

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

controller代码如下

原文地址:https://www.cnblogs.com/hongchengshise/p/10512884.html