|
@@ -214,9 +214,43 @@
|
|
|
}
|
|
|
else if(model.curBackupsState == backupsStateUploading
|
|
|
|| model.curBackupsState == backupsStateSuspend
|
|
|
- ){
|
|
|
- [[iToast makeText:NSLocalizedString(@"File_backups_set_default_path_tip",nil)] show];
|
|
|
- }
|
|
|
+ )
|
|
|
+ {
|
|
|
+
|
|
|
+ //判断尺寸路径是否存在
|
|
|
+
|
|
|
+ NSString * uploadDefaultPath = [HWDataManager getStringWithKey:Const_photo_backups_default_path];
|
|
|
+
|
|
|
+ BOOL isExtraFileType = NO;
|
|
|
+ BOOL isExtraPathFind = NO;
|
|
|
+ if(uploadDefaultPath){
|
|
|
+ if(![uploadDefaultPath containsString:@"sdcard/"]){
|
|
|
+ isExtraFileType = YES;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ if(uploadDefaultPath && ksharedAppDelegate.cloudPhoneExtraFileListMod){
|
|
|
+ NSArray*arr = ksharedAppDelegate.cloudPhoneExtraFileListMod.data;
|
|
|
+
|
|
|
+ for (cloudPhoneExtraFileModel*model in arr) {
|
|
|
+ if([uploadDefaultPath containsString:model.extraPath]){
|
|
|
+
|
|
|
+ isExtraPathFind = YES;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ if(isExtraFileType && !isExtraPathFind){
|
|
|
+ [self gotofileTransferPathCheckVCFun];
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ [[iToast makeText:NSLocalizedString(@"File_backups_set_default_path_tip",nil)] show];
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
else{
|
|
|
[self gotofileTransferPathCheckVCFun];
|
|
|
}
|