thmeleaf 无法识别遍历数组
<table> <tr th:each="grtInfo:${grtInfos}"> <td th:text="${grtInfos}"></td> <td th:text="${grtInfo.name}"></td> </tr> </table>
thymeleaf将数组识别为字符串了,无法遍历,遍历取属性值时回报属性不存在。有没有大佬指点一下。
收起
当前问题酬金
¥ 0 (可追加 ¥500)
支付方式
扫码支付
支付金额 15 元
提供问题酬金的用户不参与问题酬金结算和分配
支付即为同意 《付费问题酬金结算规则》
报告相同问题?