Commit 69f939e1 authored by guanghui.shi's avatar guanghui.shi

海报等待逻辑去除

parent 15986900
...@@ -246,8 +246,10 @@ ...@@ -246,8 +246,10 @@
} }
self.pageControl.numberOfPages = self.posetrs.count; self.pageControl.numberOfPages = self.posetrs.count;
self.pageControl.currentPage = 0; self.pageControl.currentPage = 0;
[self.collectionView reloadData];
/// 下载二维码 /// 下载二维码
[self downLoadQrImage]; [self downLoadQrImage];
}else{ }else{
[QGHUDManager showHud:responseObject[@"msg"] ?responseObject[@"msg"] :@"获取错误"]; [QGHUDManager showHud:responseObject[@"msg"] ?responseObject[@"msg"] :@"获取错误"];
...@@ -466,7 +468,6 @@ ...@@ -466,7 +468,6 @@
[manager loadImageWithURL:[NSURL URLWithString:firstPoster.qrImgUrl] options:SDWebImageLowPriority progress:NULL completed:^(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL) { [manager loadImageWithURL:[NSURL URLWithString:firstPoster.qrImgUrl] options:SDWebImageLowPriority progress:NULL completed:^(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL) {
if (error == nil) { if (error == nil) {
self.qrImage = image; self.qrImage = image;
[self.collectionView reloadData];
} }
}]; }];
......
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