{{# if(d.dc_c_pid != 0){ }} <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> {{# } }}
多重判读:
{{# if(d.dc_c_pid != 0){ }} <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> {{# }if(d.dc_c_pid != 1){ }} <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除1</a> {{# } }}