zizhong.wang il y a 3 ans
Parent
commit
716df39aee
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pages/index/self_info.vue

+ 1 - 1
pages/index/self_info.vue

@@ -276,7 +276,7 @@
 					  this.dateMonth = userInfoObj.jion_month;
 					  this.userNation = userInfoObj.nation;
 					  this.userSex = userInfoObj.sex;
-					  if(userInfoObj.birth_day){
+					  if(userInfoObj.birth_day && userInfoObj.birth_day!='0'){
 						  this.userBorn = (userInfoObj.birth_day).substr(0,4) + '-' + (userInfoObj.birth_day).substr(4,2) + '-' + (userInfoObj.birth_day).substr(6);
 					  }
 					  this.educationValue = this.educationObj[userInfoObj.education_level];