fix 个人信息
This commit is contained in:
@@ -14,7 +14,22 @@
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)loadCellData:(NSIndexPath *)indexPath user:(GiGaUser*)user{
|
||||
|
||||
if (indexPath.section == 1 && indexPath.row == 0 ) {
|
||||
|
||||
self.IdLabel.text = user.userId;
|
||||
self.userTitle.text = @"用户ID";
|
||||
|
||||
}else if (indexPath.section == 1 && indexPath.row == 1){
|
||||
self.userTitle.text = @"昵称";
|
||||
if (user.nickName && ![user.nickName isKindOfClass:[NSNull class]]) {
|
||||
self.IdLabel.text = user.nickName;
|
||||
}else{
|
||||
self.IdLabel.text = @"昵称";
|
||||
}
|
||||
}
|
||||
}
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user