我们都知道thymeleaf获取对象的属性时,属性需要有getXxx.
当我们获取map对象的值呢?
thymeleaf获取map集合数据,形式:
${xxx[‘ppp’]}
eg:
<h6 class="mt-0 mb-3">
<a href="site/discuss-detail.html" th:text="${discuss['title']}">备战春招,面试刷题跟他复习,一个月全搞定!</a>
<span
我们都知道thymeleaf获取对象的属性时,属性需要有getXxx.
当我们获取map对象的值呢?
thymeleaf获取map集合数据,形式:
${xxx[‘ppp’]}
eg:
<h6 class="mt-0 mb-3">
<a href="site/discuss-detail.html" th:text="${discuss['title']}">备战春招,面试刷题跟他复习,一个月全搞定!</a>
<span