fix: Added separator on Thymeleaf ownerList to better view

This commit is contained in:
zhouhaojie 2021-04-25 10:35:30 +08:00
parent e2fbc56130
commit ca8a2715ce

View file

@ -24,7 +24,7 @@
<td th:text="${owner.address}"/>
<td th:text="${owner.city}"/>
<td th:text="${owner.telephone}"/>
<td><span th:each="pet : ${owner.pets}" th:text="${pet.name} "/></td>
<td><span th:each="pet, iterStat : ${owner.pets}" th:text="${iterStat.last} ? ${pet.name} : ${pet.name}+','"/></td>
</tr>
</tbody>
</table>