摘要: ![](https://img2018.cnblogs.com/blog/422101/201907/422101-20190713131444096-402266067.png) ``` > ``` ``` layui.use(['form'], function () { // 自动化加载 var form = layui.form; form.on('switch(co... 阅读全文
posted @ 2019-07-13 13:15 TBHacker 阅读(4869) 评论(0) 推荐(1) 编辑
摘要: lay verify:是表单验证的关键字 支持多条规则的验证 自定义验证 $ = layui.jquery; var form = layui.form, layer = layui.layer; //自定义验证规则 form.verify({ nikename: function (value) 阅读全文
posted @ 2019-07-13 11:23 TBHacker 阅读(3466) 评论(0) 推荐(0) 编辑