IdCard
IdCard copied to clipboard
正则表达式不全面
/(^\d{18}$)/.test(idCard) 应该改为 /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/