处理二级评论回复用户名称显示问题
This commit is contained in:
@@ -55,9 +55,9 @@
|
||||
if (!_content) {
|
||||
_content = @"";
|
||||
}
|
||||
if ([_content isEqualToString:@"78910"]) {
|
||||
NSLog(@"===");
|
||||
}
|
||||
// if ([_content isEqualToString:@"78910"]) {
|
||||
// NSLog(@"===");
|
||||
// }
|
||||
if (!_replyToUserName) {
|
||||
_replyToUserName = @"";
|
||||
}
|
||||
|
||||
@@ -33,6 +33,10 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic, strong, nullable) NSArray<KBCommentItem *> *replies;
|
||||
/// 回复数量
|
||||
@property (nonatomic, assign) NSInteger replyCount;
|
||||
/// 被回复的用户 ID(仅二级回复场景可能存在)
|
||||
@property (nonatomic, strong, nullable) NSNumber *replyToUserId;
|
||||
/// 被回复的用户名(@xxx,仅二级回复场景可能存在)
|
||||
@property (nonatomic, copy, nullable) NSString *replyToUserName;
|
||||
/// 用户头像
|
||||
@property (nonatomic, copy, nullable) NSString *userAvatar;
|
||||
/// 用户 ID
|
||||
|
||||
Reference in New Issue
Block a user