<select name="catId">
<option th:each="cat,start:${catList}" th:value="${cat.id}" th:text="${cat.name}"></option>
</select>
Thymeleaf 遍历
最新推荐文章于 2022-04-03 21:28:26 发布
<select name="catId">
<option th:each="cat,start:${catList}" th:value="${cat.id}" th:text="${cat.name}"></option>
</select>