Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2022-05-06 18:17:36 +08:00

View File

@@ -528,7 +528,7 @@ export default {
// this.form.birthday = this.$idCardNoUtil.getIdCardInfo(idNumber)?.birthday
this.form.age = this.$calcAge(this.form.idNumber)
let birth = idNumber.substr(6,8)
this.form.birthday = birth.replace(/(.{4})(.{2})/,"$1-$2-");
this.form.birthDate = birth.replace(/(.{4})(.{2})/,"$1-$2-");
},
deep: true,
},