Commit 483a7eb4 authored by David黄金龙's avatar David黄金龙

一处 默认值修改

parent c810eaee
...@@ -659,13 +659,16 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol { ...@@ -659,13 +659,16 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
childInHk.has = "N" childInHk.has = "N"
} }
if follow != 1 && follow != 2 { // 默认随行 if follow != 1 && follow != 2 { // 默认随行
if self.relationType == .father || self.relationType == .mother || self.relationType == .brother { follow = 1
follow = 0 }
} else { // 父母和兄弟姐妹无随行配置
follow = 1 if self.relationType == .father || self.relationType == .mother || self.relationType == .brother {
} follow = 0
} }
if isLiveOverseaYear != 1 && isLiveOverseaYear != 2 { // 默认在海外未居住满一年以上 if isLiveOverseaYear != 1 && isLiveOverseaYear != 2 { // 默认在海外未居住满一年以上
isLiveOverseaYear = 2 isLiveOverseaYear = 2
......
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