This commit is contained in:
吴红兵
2026-03-07 01:34:48 +08:00
parent adc511cfdc
commit 94c3473958
1211 changed files with 599405 additions and 322105 deletions

View File

@@ -325,7 +325,7 @@ export function verifyIdCardAll(val: string) {
const macaoIdCard = /^[1-9]\d{0,6}$/;
// 台湾身份证1个字母+9位数字
const taiwanIdCard = /^[A-Z]\d{9}$/;
// 只要匹配其中一种即可
if (mainlandIdCard.test(val) || hkIdCard.test(val) || macaoIdCard.test(val) || taiwanIdCard.test(val)) {
return true;