|
@@ -429,13 +429,13 @@
|
|
|
_fileImageView.image = cacheImage;
|
|
|
}
|
|
|
else{
|
|
|
- [_fileImageView sd_setImageWithURL:[NSURL URLWithString:fileUrl] placeholderImage:nil completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
|
|
|
+ [_fileImageView sd_setImageWithURL:[NSURL URLWithString:fileUrl] placeholderImage:defaultImage completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
|
|
|
if(image){
|
|
|
//HLog(@"11图片1:%@",imageURL.absoluteString);
|
|
|
}
|
|
|
else{
|
|
|
//HLog(@"11图片0:%@",imageURL.absoluteString);
|
|
|
- self->_fileImageView.image = defaultImage;
|
|
|
+ //self->_fileImageView.image = defaultImage;
|
|
|
}
|
|
|
|
|
|
}];
|
|
@@ -454,13 +454,13 @@
|
|
|
_fileImageView.image = cacheImage;
|
|
|
}
|
|
|
else{
|
|
|
- [_fileImageView sd_setImageWithURL:[NSURL URLWithString:fileUrl] placeholderImage:nil completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
|
|
|
+ [_fileImageView sd_setImageWithURL:[NSURL URLWithString:fileUrl] placeholderImage:defaultImage completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
|
|
|
if(image){
|
|
|
//HLog(@"11图片1:%@",imageURL.absoluteString);
|
|
|
}
|
|
|
else{
|
|
|
//HLog(@"11图片0:%@",imageURL.absoluteString);
|
|
|
- self->_fileImageView.image = defaultImage;
|
|
|
+ //self->_fileImageView.image = defaultImage;
|
|
|
}
|
|
|
|
|
|
}];
|