Commit e58efe5d authored by 邢超's avatar 邢超

头像获取方法重写

parent 91ee1412
......@@ -192,7 +192,7 @@ static QGUserInfo *userInfo = nil;
-(NSString *)avatar
{
//防止头像nil时崩溃
if (!_avatar) {
if ([NSString isEmpty:_avatar]) {
_avatar = @"";
}
return _avatar;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment