更新大屏
This commit is contained in:
@ -38,6 +38,7 @@ export function resetForm(refName) {
|
||||
//当type=1时获取出生日期,type=2时获取性别,type=3时获取年龄
|
||||
export function IdCard(IdCard, type) {
|
||||
//获取出生日期
|
||||
if(!IdCard) return;
|
||||
if (type === 1) {
|
||||
return IdCard.substring(6, 10) + "-" + IdCard.substring(10, 12) + "-" + IdCard.substring(12, 14)
|
||||
}
|
||||
|
Reference in New Issue
Block a user