-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.3 1.把js内置对象名字改为complexValidate 2.验证类型名称属于包含关系出现的bug 3.把在自定义验证类型regex函数参数列表进行修正 由 function (input,multiRegex) 改为function (item,group,regex) 1)item为当前验证对象 2)group不变,为当前验证范围中带有该验证类型的数组 3)multiRegex改为regex,只需要传一个需要验证的函数和验证类型字符串: xxx:{ type:'fun', regex:function (i,j,regex) { return regex(i,"int|notNull|length(1,5)") } }
- Loading branch information
Showing
1 changed file
with
39 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters