摘要: 规则 clientName:{ required:true, checkName:true} messages clientName:{ required:"客户端不能为空", checkName:"该名称已存在"},添自定义ajax $.validator.addMethod( //规则的名称 " 阅读全文
posted @ 2018-05-19 16:14 佟印龙 阅读(123) 评论(0) 推荐(0) 编辑
摘要: <#assign str=""> <#--常见 字符串函数 --> ${"asddfdsd"?substring(3,5)} <#-- 从索引为3位置开始截取,到索引为5位置结束不包括5 5-3--> ${"abcd"?cap_first}<#--字符串的第一个字符大写--> ${"abcd"?un 阅读全文
posted @ 2018-05-19 11:05 佟印龙 阅读(200) 评论(0) 推荐(0) 编辑