zizhong.wang 3 년 전
부모
커밋
716df39aee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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];