<select id="company" class="company" name="d">
<option th:each="e,eStat:${accessSecretPos}" th:value="${e.getId()}" th:selected="${id==e.getId()}">[[${e.getShowname()}]]</option>
</select>
<select id="company" class="company" name="d">
<option th:each="e,eStat:${accessSecretPos}" th:value="${e.getId()}" th:selected="${id==e.getId()}">[[${e.getShowname()}]]</option>
</select>
转载于:https://my.oschina.net/mifans/blog/827002