Commit 613a423b authored by Steven杜宇's avatar Steven杜宇

家庭成员

parent 2e210e6a
...@@ -197,8 +197,9 @@ class YHChildInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol { ...@@ -197,8 +197,9 @@ class YHChildInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
if let cur = getArrayIndexOfCurrentStep(), let item = stepVCs[safe:cur+1] { if let cur = getArrayIndexOfCurrentStep(), let item = stepVCs[safe:cur+1] {
currentStep = item.step currentStep = item.step
child?.step = item.step child?.step = item.step
stepView.maxIndex = cur+1 if cur+1 > stepView.maxIndex {
} stepView.maxIndex = cur+1
} }
print("currentIndex:\(currentStep)") print("currentIndex:\(currentStep)")
} }
} }
......
...@@ -246,7 +246,9 @@ extension YHSpouseInfoContainerVC { ...@@ -246,7 +246,9 @@ extension YHSpouseInfoContainerVC {
if let cur = getArrayIndexOfCurrentStep(), let item = stepVCs[safe:cur+1] { if let cur = getArrayIndexOfCurrentStep(), let item = stepVCs[safe:cur+1] {
currentStep = item.step currentStep = item.step
spouse?.step = item.step spouse?.step = item.step
stepView.maxIndex = cur+1 if cur+1 > stepView.maxIndex {
stepView.maxIndex = cur+1
}
} }
print("currentIndex:\(currentStep)") print("currentIndex:\(currentStep)")
} }
......
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