Skip to content

Commit 7d35ef1

Browse files
committed
优化预定义的校验规则名称
1 parent dc31f1c commit 7d35ef1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jquery-validator-1.3.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -840,14 +840,14 @@
840840
"int": {
841841
format: "number"
842842
},
843-
"+int": {
843+
"int+": {
844844
format: "number",
845845
range: "(0,)"
846846
},
847847
"money": {
848848
format: "number/money"
849849
},
850-
"+money": {
850+
"money+": {
851851
format: "number/money",
852852
range: "(0,)"
853853
},
@@ -870,7 +870,7 @@
870870
"idcard": {
871871
format: "idcard/18:[18,]"
872872
},
873-
"file": "jpg|jpeg|gif|png|bmp"
873+
"image": "jpg|jpeg|gif|png|bmp"
874874
});
875875
if(global || (global = (typeof window !== "undefined") ? window : this)){
876876
global.V = V;

0 commit comments

Comments
 (0)