Commit 8220b199 by houweibin

small fix-(第一次进入首页时,多调了一次数据)

parent e10fcc1b
...@@ -90,7 +90,8 @@ typedef enum{ ...@@ -90,7 +90,8 @@ typedef enum{
[self.titleView resumeView]; [self.titleView resumeView];
} }
[self.cvHome reloadData]; [self.cvHome reloadData];
if(self.isRefreshUI){ //isRefreshUI 是否需要刷新ui YES刷新 NO不需刷新
if(!self.isRefreshUI){
self.isRefreshUI = YES; self.isRefreshUI = YES;
}else{ }else{
[self loadHomeData]; [self loadHomeData];
......
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