无故事王国
2023-11-28 c32cea453e0cad8bf52ac59f8a95006aa0b8215b
WanPai/Root/Course/VC/CourseInfoScheduleVC.swift
@@ -59,6 +59,7 @@
extension CourseInfoScheduleVC:UICollectionViewDelegate{
    func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
        currentSelectDate = dates[indexPath.row]
      guard Date.jq_CalByDays(startDate: Date(), endDate: currentSelectDate!) >= 0 else {return}
        if let date =  currentSelectDate{
            clouse?(date)
        }