<select name="ChanneltypeID" class="layui-select">
<option th:each="dict : ${type}" th:value="${dict.ChannelTypeID}" th:text="${dict.ChannelTypeName }">
</select>
直接在option标签里写th:each 以及 th:value th:text 即可
<select name="ChanneltypeID" class="layui-select">
<option th:each="dict : ${type}" th:value="${dict.ChannelTypeID}" th:text="${dict.ChannelTypeName }">
</select>
直接在option标签里写th:each 以及 th:value th:text 即可