Commit 18ad73a2 authored by Steven杜宇's avatar Steven杜宇

// 家庭展示

parent cc46b08a
......@@ -118,17 +118,24 @@ class YHFamilyMemberInfoModel: SmartCodable {
}
func getBirthNation() -> String {
if self.birthPlaceAboard == "1" {
if self.birthPlaceAboard == "0" {
return "国内"
} else if self.birthPlaceAboard == "1" {
return "国外"
}
return "国内"
return ""
}
func getHistoryBirthNation() -> String {
if self.birthPlaceAboardHistory == "1" {
if self.birthPlaceAboardHistory == "0" {
return "国内"
} else if self.birthPlaceAboardHistory == "1" {
return "国外"
}
return "国内"
return ""
}
private func getMarriageStatus(_ marrage: String) -> String {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment