杨锴
2024-11-08 529f3c6b775dc75869f978f7403ac50c5343b4e4
XQMuse/Root/Course/VC/CourseVCOfficalCommentVC.swift
@@ -18,6 +18,8 @@
            }
}
let CourseOfficalComment_Noti = Notification.Name.init("CourseOfficalComment_Noti")
class CourseVCOfficalCommentVC: BaseVC {
            private var collectionView:UICollectionView!
@@ -69,6 +71,12 @@
                        }
            }
    override func setRx() {
        NotificationCenter.default.rx.notification(CourseOfficalComment_Noti).take(until: self.rx.deallocated).subscribe(onNext: {[weak self] _ in
            self?.viewModel.beginRefresh()
        }).disposed(by: disposeBag)
    }
            override var shouldAutorotate: Bool{
                        return  false
            }