Commit 40ce37d8 authored by David黄金龙's avatar David黄金龙

代码优化

parent ccc4bdd1
...@@ -148,11 +148,8 @@ extension YHHomeHoldViewPageViewController { ...@@ -148,11 +148,8 @@ extension YHHomeHoldViewPageViewController {
} }
if let vc = UIApplication.shared.keyWindow?.rootViewController as? YHTabBarViewController { if let vc = UIApplication.shared.keyWindow?.rootViewController as? YHTabBarViewController {
if vc.selectedIndex == 0 { if vc.selectedIndex != 0 {
print("dddd")
} else {
return return
} }
} }
......
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