Commit 89811c29 authored by pete谢兆麟's avatar pete谢兆麟

时间选择器

parent c7119dec
...@@ -324,7 +324,7 @@ extension YHDatePickView: UIPickerViewDelegate,UIPickerViewDataSource { ...@@ -324,7 +324,7 @@ extension YHDatePickView: UIPickerViewDelegate,UIPickerViewDataSource {
pickerView.reloadComponent(1) pickerView.reloadComponent(1)
} }
if component == 0, lastIsTaday { if component == 0, lastIsTaday, self.type != .yyyy {
pickerView.reloadComponent(1) pickerView.reloadComponent(1)
if self.type == .yyyymmdd { if self.type == .yyyymmdd {
pickerView.reloadComponent(2) pickerView.reloadComponent(2)
......
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