bug
This commit is contained in:
@@ -528,7 +528,7 @@ export default {
|
|||||||
// this.form.birthday = this.$idCardNoUtil.getIdCardInfo(idNumber)?.birthday
|
// this.form.birthday = this.$idCardNoUtil.getIdCardInfo(idNumber)?.birthday
|
||||||
this.form.age = this.$calcAge(this.form.idNumber)
|
this.form.age = this.$calcAge(this.form.idNumber)
|
||||||
let birth = idNumber.substr(6,8)
|
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,
|
deep: true,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user