<select lay-filter="business" class="select" lay-verify="type" name="business" >
<option value="0" >请选择</option>
<option value="1" >张三</option>
</select>
lay-filter的值在JS调用的时候使用
JS 部分
var form = layui.form, layer = layui.layer;
form.on('select(business)', function(data){
alert(1)
})
来源:CSDN
作者:Missmiaomiao
链接:https://blog.csdn.net/hantanxin/article/details/103628518