|
@@ -296,7 +296,7 @@ extension CommunityAllCommentView {
|
|
|
self?.noCommentsLabel.isHidden = true
|
|
|
}
|
|
|
|
|
|
- let count = 1 + (self?.communityPostCommentsModel?.pagination?.total ?? 0)
|
|
|
+ let count = 1 + (self?.communityPostCommentsModel?.commentCount ?? 0)
|
|
|
self?.communityPostCommentsModel?.commentCount = count
|
|
|
self?.titleLabel.text = "全部评论 \(count)"
|
|
|
VirusViewModel.shared.comment(communityVideoItemModel: (self?.videoItemModel)!, id: communityPostCommentIdModel?.id ?? 0,content: text)
|