Преглед изворни кода

1.下载过程中调起文件弹框后下载到相册的图片不保存修复

huangxiaodong пре 8 месеци
родитељ
комит
445f27e669

+ 12 - 5
创维盒子/双子星云手机/webRtc/webRtcManager/webRtcManager+downloadNasFile.m

@@ -11,11 +11,11 @@
 #pragma mark 下载完成
 - (void)NasDownloadTaskFinishedNoti:(customDownloadOperation *)nasDownloadOperation
 {
-    if((self.nasFullPath && self.nasFullPath.length >0)
-       || self.isShowingFileDocumentPickerType){
-            HLog(@"上一个任务保存到问题---没保存完");
-        return;
-    }
+//    if((self.nasFullPath && self.nasFullPath.length >0)
+//       || self.isShowingFileDocumentPickerType){
+//            HLog(@"上一个任务保存到问题---没保存完");
+//        return;
+//    }
     
     curDownloadmodel = nasDownloadOperation;
     KWeakSelf
@@ -74,6 +74,13 @@
             
         }
         else{//保存到文件
+            
+            if((self.nasFullPath && self.nasFullPath.length >0)
+               || self.isShowingFileDocumentPickerType){
+                    HLog(@"上一个任务保存到问题---没保存完");
+                return;
+            }
+            
             [self loadOtherDataFinishedBy:pathStr];
         }
     }