无故事王国
2023-10-13 941347efd4ed52a048aaf26b909508dd0c49d7ae
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