WanPai/Root/Other/View/CommonDatePickerView.swift
@@ -20,7 +20,7 @@ private var type:DatePickerType! private var years = [Int]() private var months = [1,2,3,4,5,6,7,8,9,10,11,12] private var months = [12,11,10,9,8,7,6,5,4,3,2,1] private var hours = [Int]() private var minutes = [Int]() private var days = [Int]() @@ -149,7 +149,6 @@ extension CommonDatePickerView:UIPickerViewDataSource{ func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int { if component == 0{ switch type{