Commit 59106dee by houweibin

small fix

parent 2136c9f7
......@@ -315,11 +315,13 @@ static NSString *identify = @"KWMSearchBrandsCell";
// if(self.dataArray){ //如果已经从缓存拿到数据了。
// return;
// }
if(result.brands){
NSArray *indexArray= [[result.brands rx_filterWithBlock:^BOOL(id each) {
return each && each != [NSNull null];
}] arrayWithPinYinFirstLetterFormat];
_dataArray =[NSMutableArray arrayWithArray:indexArray];
[weakSelf.tbvSearchBrand reloadData];
}
};
void(^cacheCallback)(KWMBrandsResult *) = ^(KWMBrandsResult *result){
// if([weakSelf hasCemaroseError:result]){
......
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