freemarker 動態下拉

後臺
setAttr("business_type",business_type);
前端
<td>
    <select id="businessTypeId" name="businessTypeId">
        [#list business_type as businessType]
            <option value="${businessType.id}">
            ${businessType.name}
            </option>
        [/#list]
    </select>
</td>
相關文章
相關標籤/搜索