Commit 7c995bf1 authored by David黄金龙's avatar David黄金龙

处理bug

parent cad4fc55
...@@ -169,13 +169,10 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget { ...@@ -169,13 +169,10 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
} }
func requestLikeCollectionCount() { func requestLikeCollectionCount() {
if YHLoginManager.shared.isLogin() { self.likeViewModel.getLikeCollectionRecentScanCountInfo {
self.likeViewModel.getLikeCollectionRecentScanCountInfo { [weak self] success, error in
[weak self] success, error in guard let self = self else { return }
guard let self = self else { return } self.headerView.updateLikeCollectCount(self.likeViewModel.likeCollectCountInfo)
self.headerView.updateLikeCollectCount(self.likeViewModel.likeCollectCountInfo)
}
} }
} }
......
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