更新大屏

This commit is contained in:
2025-07-14 18:15:09 +08:00
parent 694ad9a54c
commit 446304ae1b
6 changed files with 18 additions and 30 deletions

View File

@ -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)
}