后端数据到前端select转换,thymeleaf bootstrap
thymeleaf-select
<select id="taskType" name="taskType" th:value="${rwTask.taskType}" class="form-control" type="text">
<option value ="1" th:selected="${rwTask.taskType} == '1'">周期任务<...
原创
2019-09-09 15:58:58 ·
433 阅读 ·
0 评论