优化代码

This commit is contained in:
java110 2020-09-27 08:50:56 +08:00
parent 6b248524cc
commit 32a496ce19

View File

@ -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();