小程序
This commit is contained in:
parent
795f1238af
commit
6a7bdfd316
|
@ -112,7 +112,6 @@ const idCardBlur = (e:string)=>{
|
|||
const year = birthDate.substring(0, 4);
|
||||
const month = birthDate.substring(4, 6);
|
||||
const day = birthDate.substring(6, 8);
|
||||
|
||||
// 格式化为 “某年某月某日”
|
||||
formData.value.dateOfBirth = `${year}年${month}月${day}日`
|
||||
pickerValue.value = new Date(parseInt(year),parseInt(month) - 1,parseInt(day))
|
||||
|
|
Loading…
Reference in New Issue