layui tips 无法吸附在 表格中 template 中的 checkbox 组件上
因为 在 template 属性中 checkbox 类型的 input。在渲染页面时 会 额外生成一个 div 用来替代 input ,进行选择框的显示,而 真正的 input 就会被隐藏下面是页面渲染后,显示的 div :<div class="layui-unselect layui-form-switch layui-form-onswitch" lay-skin="_...
原创
2019-05-24 11:26:54 ·
993 阅读 ·
2 评论