thymeleaf获取map集合中的数据
gasturbine
我们都知道thymeleaf获取对象的属性时,属性需要有getXxx.varnish
vpc当我们获取map对象的值呢?
thymeleaf获取map集合数据,形式:
was怎么读${xxx[‘ppp’]}
eg:
all at once<h6 class="mt-0 mb-3">
moreorless<a href="site/discuss-detail.html" th:text="${discuss['title']}">备战春招,⾯试刷题跟他复习,⼀个⽉全搞定!</a>
2012高考英语听力<span class="badge badge-condary bg-primary" th:if="${discuss['type']==1}">置顶</span>
copy是什么意思<span class="badge badge-condary bg-danger" th:if="${discuss['status']==1}">精华</span>
<span class="badge badge-condary bg-danger" th:if="${discuss['status']==2}">拉⿊</span>
ocean park>uasa</h6>