小程序

This commit is contained in:
wangyilin 2024-09-13 09:41:19 +08:00
parent 795f1238af
commit 6a7bdfd316
1 changed files with 0 additions and 1 deletions

View File

@ -112,7 +112,6 @@ const idCardBlur = (e:string)=>{
const year = birthDate.substring(0, 4); const year = birthDate.substring(0, 4);
const month = birthDate.substring(4, 6); const month = birthDate.substring(4, 6);
const day = birthDate.substring(6, 8); const day = birthDate.substring(6, 8);
// //
formData.value.dateOfBirth = `${year}${month}${day}` formData.value.dateOfBirth = `${year}${month}${day}`
pickerValue.value = new Date(parseInt(year),parseInt(month) - 1,parseInt(day)) pickerValue.value = new Date(parseInt(year),parseInt(month) - 1,parseInt(day))