Sfoglia il codice sorgente

1.下载选择后切换磁盘 添加一次点击取消全选

huangxiaodong 1 anno fa
parent
commit
20f69145dc

+ 9 - 0
创维盒子/双子星云手机/Class/Set/uploadFile/downLoadFile/downLoadPreviewViewController.m

@@ -239,6 +239,15 @@
 #pragma mark 选中磁盘
 - (void)didCheckDiskFunByPath:(NSString*)pathStr
 {
+    if(self.defaultDiskPath
+       && self.defaultDiskPath.length>0
+       && ![self.defaultDiskPath isEqualToString:pathStr]){
+        //切换硬盘了 取消全选
+        
+        _rightButton.selected = YES;
+        [self didClickSelectAllButton:_rightButton];
+    }
+    
     self.defaultDiskPath = pathStr;
     //[self searchFileListFun];
     [self setTitleAfterGetdiskFun];