|
|
@@ -161,6 +161,8 @@
|
|
|
|
|
|
if (self.params) {
|
|
|
|
|
|
+ self.loadingIndicator.hidden = NO;
|
|
|
+
|
|
|
NSMutableDictionary *dic = self.params.mutableCopy;
|
|
|
switch (option) {
|
|
|
case 0:
|
|
|
@@ -197,8 +199,12 @@
|
|
|
|
|
|
NSInteger result = [[contentDic objectForKey:@"result"] integerValue];
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
+
|
|
|
if (weakSelf) {
|
|
|
__strong typeof(weakSelf) strongSelf = weakSelf;
|
|
|
+
|
|
|
+ strongSelf.loadingIndicator.hidden = YES;
|
|
|
+
|
|
|
if (result == RESULT_TRUE) {
|
|
|
strongSelf.content_layout = [contentDic objectForKey:@"layout"];
|
|
|
strongSelf.content_action = [contentDic objectForKey:@"row_action"];
|