遇到的问题:引入一个新的JS文件要rebuild,方法可能会调用其他方法,所以要看看代码,还要方法初始化
HTML
<script type="text/javascript" th:src="@{/js/platform/laydate.js}"></script>
<div class="form-inline p-xxs">
<div class="form-group">
<label class="search-label font-color">站点选择:</label>
<select name="stationId" id="stationId" class="form-control stationNum">
<option th:each="unorgList:${unorgList}" value ="${unorgList.id}" th:selected="${unorgList.id==id}" th:text="${unorgList.name}"></option>
</select>
<label class="search-label font-c