1、Thymeleaf使用 th:each 动态遍历下拉框,同时回显数据
<div class="form-group" th:each="appl: ${appMenuList}">
<label class="col-sm-3 control-label" th:text="${appl.menuName}+':'"/>
<div class="col-sm-8">
<select th:name="${appl.menuId}" th:id="${appl.menuId}" class="form-control" >
<option th:selected="${appl.empowerNo} eq '0'" value="0">不授权<</