Commit d4a063fc authored by Steven杜宇's avatar Steven杜宇

// 我的tab

parent c7a632bc
...@@ -57,7 +57,6 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget { ...@@ -57,7 +57,6 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
[weak self] in [weak self] in
guard let self = self else { return } guard let self = self else { return }
if !checkLogin() { return } if !checkLogin() { return }
} }
view.avatarClickBlock = { view.avatarClickBlock = {
[weak self] in [weak self] in
...@@ -103,7 +102,8 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget { ...@@ -103,7 +102,8 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
make.height.equalTo(bgImgView.snp.width).multipliedBy(YHUserInfoHeaderView.bgRatio) make.height.equalTo(bgImgView.snp.width).multipliedBy(YHUserInfoHeaderView.bgRatio)
} }
tableView.snp.makeConstraints { make in tableView.snp.makeConstraints { make in
make.edges.equalTo(0) make.left.right.top.equalToSuperview()
make.bottom.equalToSuperview().offset(-k_Height_TabBar)
} }
NotificationCenter.default.addObserver(self, selector: #selector(loginSuccess), name: YhConstant.YhNotification.didLoginSuccessNotifiction, object: nil) NotificationCenter.default.addObserver(self, selector: #selector(loginSuccess), name: YhConstant.YhNotification.didLoginSuccessNotifiction, object: nil)
......
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