Commit a9016a7a cgx

新增官方动态展开收拢,数据容错处理

1 个父辈 db7ca586
......@@ -3233,7 +3233,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 5;
CURRENT_PROJECT_VERSION = 7;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
......@@ -3316,7 +3316,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5;
CURRENT_PROJECT_VERSION = 7;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
ENABLE_BITCODE = NO;
......@@ -3459,7 +3459,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5;
CURRENT_PROJECT_VERSION = 7;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
......
......@@ -131,7 +131,7 @@
cell.model = model;
cell.showAllContentBlock = ^{
[weakSelf.comListVM showOfficialAllContent];
[weakSelf.listView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationNone];
[weakSelf.listView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationFade];
};
return cell;
} else {
......
......@@ -114,9 +114,6 @@
}
- (void)showAllContent {
if (self.model.isShowAllContent) {
return;
}
if (self.showAllContentBlock) {
self.showAllContentBlock();
}
......
......@@ -54,7 +54,7 @@
*stop = YES;
}
}];
if (hasOfficialModel == NO) {
if (hasOfficialModel == NO && self.resultModel.officialMessageModel) {
[newList insertObject:self.resultModel.officialMessageModel atIndex:0];
}
self.isOfficial = self.resultModel.officialMessageModel;
......@@ -68,7 +68,7 @@
}
- (void)showOfficialAllContent {
self.resultModel.officialMessageModel.isShowAllContent = YES;
self.resultModel.officialMessageModel.isShowAllContent = !self.resultModel.officialMessageModel.isShowAllContent;
}
- (void)insertUserDyModel:(ComDynModel *)dyModel {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!