不展示技能卡

This commit is contained in:
fengshuo
2023-03-17 19:16:27 +08:00
parent 3fe87d9524
commit de48d3695d

View File

@@ -81,7 +81,7 @@
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
if(section == 0) { if(section == 0) {
return 1; return (self.userUid.integerValue == [AccountInfoStorage instance].getUid.integerValue || self.skillArray.count > 0);
}else if (section == 1) { }else if (section == 1) {
return 1; return 1;
} }