|
|
@@ -6742,7 +6742,8 @@ export default {
|
|
|
},
|
|
|
//身份证失去焦点
|
|
|
identifyblur(info) {
|
|
|
- this[info].age = getAgeByIdCard(this[info].identifyNumber);
|
|
|
+ // console.log(getAgeByIdCard(this[info].identifyNumber))
|
|
|
+ this[info].age =typeof getAgeByIdCard(this[info].identifyNumber)=='number' ?getAgeByIdCard(this[info].identifyNumber):'';
|
|
|
this[info].gender = getGenderByIdCard(this[info].identifyNumber);
|
|
|
},
|
|
|
//车主信息选择性别
|