LayUI 监听 Radio

HTML

<div class="layui-form-item">
  <label class="layui-form-label">申核后状态label>
  <div class="layui-input-block">
    <input type="radio" name="checkResultCode" lay-filter="checkResultCode" value="1" title="完善再报" checked>
    <input type="radio" name="checkResultCode" lay-filter="checkResultCode" value="2" title="驳回">
    <input type="radio" name="checkResultCode" lay-filter="checkResultCode" value="3" title="通过">
  div>
div>

JS

 layui.form.on('radio(checkResultCode)', function(data){
   console.log(data);
 });

你可能感兴趣的:(#,LayUI,layui,javascript,LayUI,监听,Radio)