ref |> 解决评论上拉多次后,出现默认页
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -259,7 +259,7 @@ export struct CommentComponent { | @@ -259,7 +259,7 @@ export struct CommentComponent { | ||
| 259 | this.publishCommentModel.totalCommentNumer = commentListModel.totalCommentNum + '' | 259 | this.publishCommentModel.totalCommentNumer = commentListModel.totalCommentNum + '' |
| 260 | } | 260 | } |
| 261 | 261 | ||
| 262 | - if (commentListModel.list.length === 0) { | 262 | + if (commentListModel.list.length === 0 && this.allDatas.totalCount() == 0) { |
| 263 | this.isComments = false | 263 | this.isComments = false |
| 264 | } | 264 | } |
| 265 | 265 |
-
Please register or login to post a comment