更新文件

dev_xd
haha 2025-01-24 23:40:35 +08:00
parent 19fb6e61f9
commit 886fe18434
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ function doImageUpload(type) {
if(sex){
form.value.sex=form.value.sex||(sex=='男'?0:1);
}
let birthDay=d.data.birthday;
let birthDay=d.data.birthDay;
if(birthDay && birthDay.length==8){
birthDay=birthDay.substr(0,4)+"-"+birthDay.substr(4,2)+"-"+birthDay.substr(6);
form.value.birthDay=form.value.birthDay||birthDay;