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

// 职业 字数限制

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