Commit cf4d49d2 authored by 刘俊宏's avatar 刘俊宏

同上+1

parent 0c9c5629
...@@ -86,6 +86,9 @@ class WorkSelectTimeView: UIView ,TimeSelectViewDelgate{ ...@@ -86,6 +86,9 @@ class WorkSelectTimeView: UIView ,TimeSelectViewDelgate{
make.left.right.bottom.equalToSuperview() make.left.right.bottom.equalToSuperview()
make.top.equalTo(lBtn.snp_bottom).offset(20*glscale) make.top.equalTo(lBtn.snp_bottom).offset(20*glscale)
} }
timeView.subviews.forEach { (view) in
view.removeFromSuperview()
}
addTimeView() addTimeView()
}else{ }else{
wContentHeight.constant = 73 wContentHeight.constant = 73
...@@ -175,7 +178,7 @@ class WorkSelectTimeView: UIView ,TimeSelectViewDelgate{ ...@@ -175,7 +178,7 @@ class WorkSelectTimeView: UIView ,TimeSelectViewDelgate{
} }
TimeLbl = timeLbl TimeLbl = timeLbl
} }
var TimeLbl:UILabel? weak var TimeLbl:UILabel?
func selectMoreDate(beginDate: Date, endginDate: Date) { func selectMoreDate(beginDate: Date, endginDate: Date) {
print("选择日期·····") print("选择日期·····")
let timeInterval:TimeInterval = beginDate.timeIntervalSince1970 let timeInterval:TimeInterval = beginDate.timeIntervalSince1970
......
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