This commit is contained in:
2025-12-04 20:04:02 +08:00
parent 515487e748
commit 17ce91d40a
7 changed files with 48 additions and 22 deletions

View File

@@ -399,6 +399,7 @@ autoShowBusinessError:YES
NSString *msg = KBBizMessageFromJSONObject(dict) ?: KBLocalized(@"Server error");
if (autoShowBusinessError) {
dispatch_async(dispatch_get_main_queue(), ^{
[KBHUD dismiss];
[KBHUD showInfo:msg];
});
}
@@ -412,6 +413,7 @@ autoShowBusinessError:YES
return;
}
// code
[KBHUD dismiss];
if (completion) completion(dict, response, nil);
} else {
// JSON JSON