layui.use(['form', 'layer'], function () { var form = layui.form(); var layer = layui.layer; form.on('select(lay-filter)', function (data) { //触发内容 }); });
lay-filter为下拉框lay-filter属性
2023-09-23 16:23:57
layui.use(['form', 'layer'], function () { var form = layui.form(); var layer = layui.layer; form.on('select(lay-filter)', function (data) { //触发内容 }); });
lay-filter为下拉框lay-filter属性