mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-15 11:16:54 +08:00
优化代码
This commit is contained in:
parent
6b248524cc
commit
32a496ce19
@ -1889,7 +1889,7 @@ vc 校验 工具类 -method
|
||||
return regMoney.test(text);
|
||||
},
|
||||
idCard: function (num) {
|
||||
if (num == null || num == undefined) {
|
||||
if (num == null || num == undefined || num == '') {
|
||||
return true;
|
||||
}
|
||||
num = num.toUpperCase();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user