Commit 71bb7da5bebbf8fd5b423c4aebf4bd7885bf1779
1 parent
a7828844
更改缓存方式
Showing
1 changed file
with
2 additions
and
2 deletions
CNLiveCMineModule/Classes/inte/View/CNLiveCMineInteCollectionViewCell.m
| ... | ... | @@ -61,7 +61,7 @@ |
| 61 | 61 | if ([taskModel.isEmpty isEqualToString:@"1"]) { |
| 62 | 62 | self.imageView.image = [CNLiveCMineService imageWithMineName:@"c_mine_content_item_task"]; |
| 63 | 63 | }else{ |
| 64 | - [self.imageView sd_setImageWithURL:[NSURL URLWithString:taskModel.poster] placeholderImage:nil]; | |
| 64 | + [self.imageView sd_setImageWithURL:[NSURL URLWithString:taskModel.poster] placeholderImage:nil options:SDWebImageRefreshCached]; | |
| 65 | 65 | } |
| 66 | 66 | self.nameLabel.text = taskModel.title; |
| 67 | 67 | self.descLabel.text = taskModel.subTitle; |
| ... | ... | @@ -306,7 +306,7 @@ |
| 306 | 306 | { |
| 307 | 307 | _taskModel = taskModel; |
| 308 | 308 | |
| 309 | - [self.leftImage sd_setImageWithURL:[NSURL URLWithString:taskModel.icon] completed:nil]; | |
| 309 | + [self.leftImage sd_setImageWithURL:[NSURL URLWithString:taskModel.icon] placeholderImage:nil options:SDWebImageRefreshCached]; | |
| 310 | 310 | self.titleLabel.text = taskModel.title; |
| 311 | 311 | self.pointLabel.text = [NSString stringWithFormat:@"积分值+%@",taskModel.score]; |
| 312 | 312 | ... | ... |