Commit 87974aed authored by David黄金龙's avatar David黄金龙

母语控制

parent 41424214
......@@ -304,14 +304,12 @@ private extension YHSingleOptionalItemsView {
if item.id != model.id {
for (_,tt) in item.options.enumerated() {
if tt.id == 1 {
if tt.select {
if tt.id == 1,tt.select {//母语
hasSelected = true
}
}
}
}
}
if hasSelected {
YHHUD.flash(message: "只能选择一种语言为母语")
......
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