个人中心badge标签

This commit is contained in:
chenguilong
2022-07-25 18:16:45 +08:00
parent 54545f40bc
commit 1d8c05a229
3 changed files with 31 additions and 9 deletions

View File

@@ -387,6 +387,11 @@
- (void)onGetMineFuntionItemSuccess:(NSArray<XPMineFuntionItemModel *> *)items {
[self.functionArray removeAllObjects];
[self.functionArray addObjectsFromArray:items];
[self.functionArray enumerateObjectsUsingBlock:^(XPMineFuntionItemModel * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
if (obj.skipType == XPMineItemType_Collect_Room | obj.skipType == XPMineItemType_CP) {
[self.functionArray removeObject:obj];
}
}];
[self.tableView reloadData];
}