// layui layForm.on('checkbox(increment-update)', function(data){ let checked = data.elem.checked; // true | false });