|
@@ -155,16 +155,17 @@
|
|
|
|
|
|
[self getBackupsDatabaseFun];
|
|
[self getBackupsDatabaseFun];
|
|
|
|
|
|
- if(!_isReceiveType){
|
|
|
|
- [_curReceiveView getAllDataFun];
|
|
|
|
- }
|
|
|
|
|
|
+// if(!_isReceiveType){
|
|
|
|
+// [_curReceiveView getAllDataFun];
|
|
|
|
+// }
|
|
}
|
|
}
|
|
|
|
|
|
- (void)handleRemoveIndicator
|
|
- (void)handleRemoveIndicator
|
|
{
|
|
{
|
|
if(_didGetUploadDataType
|
|
if(_didGetUploadDataType
|
|
&& _didGetDownloadDataType
|
|
&& _didGetDownloadDataType
|
|
- && _didGetbackupsloadDataType){
|
|
|
|
|
|
+ //&& _didGetbackupsloadDataType
|
|
|
|
+ ){
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
[SVProgressHUD dismiss];
|
|
[SVProgressHUD dismiss];
|
|
});
|
|
});
|
|
@@ -660,15 +661,15 @@
|
|
|
|
|
|
- (void)getBackupsDatabaseFun
|
|
- (void)getBackupsDatabaseFun
|
|
{
|
|
{
|
|
- KWeakSelf
|
|
|
|
- [photosBackupsTaskModel bg_findAsync:backups_photos_tableName limit:1 orderBy:nil desc:YES complete:^(NSArray * _Nullable array) {
|
|
|
|
- mainBlock(^{
|
|
|
|
- weakSelf.didGetbackupsloadDataType = YES;
|
|
|
|
- [weakSelf handleRemoveIndicator];
|
|
|
|
- weakSelf.rightTableView.curDataArr = array;
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- }];
|
|
|
|
|
|
+// KWeakSelf
|
|
|
|
+// [photosBackupsTaskModel bg_findAsync:backups_photos_tableName limit:1 orderBy:nil desc:YES complete:^(NSArray * _Nullable array) {
|
|
|
|
+// mainBlock(^{
|
|
|
|
+// weakSelf.didGetbackupsloadDataType = YES;
|
|
|
|
+// [weakSelf handleRemoveIndicator];
|
|
|
|
+// weakSelf.rightTableView.curDataArr = array;
|
|
|
|
+// });
|
|
|
|
+//
|
|
|
|
+// }];
|
|
}
|
|
}
|
|
|
|
|
|
#pragma mark 读取数据库数据
|
|
#pragma mark 读取数据库数据
|
|
@@ -1386,12 +1387,12 @@
|
|
- (void)setIsReceiveType:(NSInteger)isReceiveType
|
|
- (void)setIsReceiveType:(NSInteger)isReceiveType
|
|
{
|
|
{
|
|
_isReceiveType = isReceiveType;
|
|
_isReceiveType = isReceiveType;
|
|
- KWeakSelf
|
|
|
|
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
|
- weakSelf.curReceiveView.isReceiveType = isReceiveType;
|
|
|
|
- [weakSelf.curReceiveView getAllDataFun];
|
|
|
|
- [weakSelf delayChangeUIFunWithIndex:4];
|
|
|
|
- });
|
|
|
|
|
|
+// KWeakSelf
|
|
|
|
+// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
|
+// weakSelf.curReceiveView.isReceiveType = isReceiveType;
|
|
|
|
+// [weakSelf.curReceiveView getAllDataFun];
|
|
|
|
+// [weakSelf delayChangeUIFunWithIndex:4];
|
|
|
|
+// });
|
|
}
|
|
}
|
|
|
|
|
|
#pragma mark 删除云机文件数据
|
|
#pragma mark 删除云机文件数据
|