瀏覽代碼

1.下载预览显示不全
2.下载失败重新下载在下载中看不到

huangxiaodong 1 年之前
父節點
當前提交
6b0b92271e

+ 1 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/downLoadFile/view/downLoadPreViewCell.m

@@ -90,7 +90,7 @@
     titleLabel = [[UILabel alloc] init];
     [cellBgView addSubview:titleLabel];
     titleLabel.font = [UIFont boldSystemFontOfSize:14.f];
-    titleLabel.numberOfLines = 0;
+    titleLabel.numberOfLines = 3;
     [titleLabel setTextColor:HW0A132BColor];
     [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
         make.left.equalTo(mImageView.mas_right).offset(5.f);

+ 2 - 0
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileView/downloadFileRecordTableView.m

@@ -471,6 +471,8 @@
 - (void)handleUploadFailStateWith:(couldPhoneFileModel*)model{
     
     [_downloadfailArr removeObject:model];
+    [_downloadingArr addObject:model];
+    
     [self RefreshAllDataFun];
 
     if(_didClickReUploadBlock){