xugenyuan

ref |> 解决评论上拉多次后,出现默认页

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
@@ -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