Commit 0d5a9353 authored by pete谢兆麟's avatar pete谢兆麟

删除无用通知

parent b1e91ec8
......@@ -123,10 +123,6 @@ extension YHServiceCenterMainViewController {
make.left.equalTo(20)
make.height.equalTo(29)
}
NotificationCenter.default.addObserver(self, selector: #selector(loginSuccess), name: YhConstant.YhNotification.didLoginSuccessNotifiction, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(logoutSuccess), name: YhConstant.YhNotification.didLogoutSuccessNotifiction, object: nil)
}
override func viewDidLayoutSubviews() {
......@@ -169,15 +165,6 @@ extension YHServiceCenterMainViewController: JXSegmentedListContainerViewDataSou
extension YHServiceCenterMainViewController {
@objc func loginSuccess() {
printLog("登录成功,进行相应的 UI刷新操作")
loadData()
}
@objc func logoutSuccess() {
handleRightUI()
}
private func handleRightUI() {
if serviceCenterMainReqVM.arrContactList.isEmpty {
noDataView.isHidden = false
......
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