Commit 966a6c0c authored by Steven杜宇's avatar Steven杜宇

// 职业 字数限制

parent 0ee59eb8
...@@ -285,9 +285,9 @@ extension YHChildBasicInfoVC : UITableViewDelegate, UITableViewDataSource { ...@@ -285,9 +285,9 @@ extension YHChildBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
if detailItem.type == .childName || if detailItem.type == .childName ||
detailItem.type == .everName { detailItem.type == .everName {
max = 30 max = 30
} else if detailItem.type == .birthCity || } else if detailItem.type == .occupationName {
detailItem.type == .occupationName max = 50
{ } else if detailItem.type == .birthCity {
max = 100 max = 100
} }
......
...@@ -244,6 +244,8 @@ extension YHBrotherInfoVC : UITableViewDelegate, UITableViewDataSource { ...@@ -244,6 +244,8 @@ extension YHBrotherInfoVC : UITableViewDelegate, UITableViewDataSource {
var max = -1 var max = -1
if detailItem.type == .brotherName { if detailItem.type == .brotherName {
max = 30 max = 30
} else if detailItem.type == .occupationName {
max = 50
} else if detailItem.type == .birthCity { } else if detailItem.type == .birthCity {
max = 100 max = 100
} }
......
...@@ -287,9 +287,10 @@ extension YHParentInfoVC : UITableViewDelegate, UITableViewDataSource { ...@@ -287,9 +287,10 @@ extension YHParentInfoVC : UITableViewDelegate, UITableViewDataSource {
if detailItem.type == .fatherName || if detailItem.type == .fatherName ||
detailItem.type == .motherName { detailItem.type == .motherName {
max = 30 max = 30
} else if detailItem.type == .birthCity ||
detailItem.type == .occupationName } else if detailItem.type == .occupationName {
{ max = 50
} else if detailItem.type == .birthCity {
max = 100 max = 100
} }
......
...@@ -411,9 +411,9 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource { ...@@ -411,9 +411,9 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
if detailItem.type == .spouseName || if detailItem.type == .spouseName ||
detailItem.type == .everName { detailItem.type == .everName {
max = 30 max = 30
} else if detailItem.type == .birthCity || } else if detailItem.type == .occupationName {
detailItem.type == .occupationName max = 50
{ } else if detailItem.type == .birthCity {
max = 100 max = 100
} }
......
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