<select name="quiz3" > <option th:each="count:${#numbers.sequence(1,10)}" th:value="${count}" th:text="${count}"></option> </select>
th:each="count:${#numbers.sequence(1,10)}"
thymeleaf只循环指定次数
原文:https://www.cnblogs.com/book-mountain/p/11828597.html