修复了动态的若干个bug

This commit is contained in:
fengshuo
2022-08-31 18:27:27 +08:00
parent 10c410f3ff
commit b3916b47e9
7 changed files with 29 additions and 25 deletions

View File

@@ -137,7 +137,7 @@
- (void)initSubViewConstraints {
[self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.top.mas_equalTo(self.view);
make.bottom.mas_equalTo(self.view).offset(-UIInputBarViewMinHeight);
make.bottom.mas_equalTo(self.inputBarView.mas_top);
}];
[self.commentLabel mas_makeConstraints:^(MASConstraintMaker *make) {
@@ -268,7 +268,7 @@
- (void)xPMonentsTableViewCell:(XPMonentsTableViewCell *)view didClicFold:(MonentsInfoModel *)monentsInfo {
self.monentsInfo = monentsInfo;
[self.tableView reloadData];
[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationNone];
}
#pragma mark - InputBoardDataSource