From 941347efd4ed52a048aaf26b909508dd0c49d7ae Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期五, 13 十月 2023 18:41:19 +0800 Subject: [PATCH] 完善 --- WanPai/Root/Course/VC/AddStudentVC.swift | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/WanPai/Root/Course/VC/AddStudentVC.swift b/WanPai/Root/Course/VC/AddStudentVC.swift index 0ee53ed..aee3028 100644 --- a/WanPai/Root/Course/VC/AddStudentVC.swift +++ b/WanPai/Root/Course/VC/AddStudentVC.swift @@ -165,7 +165,7 @@ func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool { if textField == tf_birthday{ view.endEditing(true) - CommonDatePickerView.show(before: 18, after: 0, type: .YMD) { year, month, day,_,_ in + CommonDatePickerView.show(before: 60, after: 0, type: .YMD) { year, month, day,_,_ in textField.text = String(format: "%ld-%02ld-%02ld", year!,month!,day!) } return false -- Gitblit v1.7.1