Commit 3bfe0601 authored by pete谢兆麟's avatar pete谢兆麟

退出登录逻辑

parent c7a632bc
...@@ -72,7 +72,7 @@ class YHMySettingViewController: YHBaseViewController, ConstraintRelatableTarget ...@@ -72,7 +72,7 @@ class YHMySettingViewController: YHBaseViewController, ConstraintRelatableTarget
@objc func logout() { @objc func logout() {
YHLoginManager.shared.clearUserInfo() YHLoginManager.shared.clearUserInfo()
NotificationCenter.default.post(name: YhConstant.YhNotification.didLoginoutSuccessNotifiction, object: nil) NotificationCenter.default.post(name: YhConstant.YhNotification.didLoginoutSuccessNotifiction, object: nil)
self.navigationController?.popViewController(animated: true)
} }
} }
......
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