Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

评论嵌套问题 #8

Closed
SukkaW opened this issue Oct 27, 2018 · 1 comment
Closed

评论嵌套问题 #8

SukkaW opened this issue Oct 27, 2018 · 1 comment
Labels
bug Something isn't working question Further information is requested

Comments

@SukkaW
Copy link
Owner

SukkaW commented Oct 27, 2018

https://blog.fooleap.org/disqus-api-comments-order-by-desc.html

即 子评论 排序在前面,而其父评论尚未加载出来(可能在下一页),那么这个 子评论 就会不会被展示。

@SukkaW SukkaW added bug Something isn't working question Further information is requested labels Oct 27, 2018
@SukkaW
Copy link
Owner Author

SukkaW commented Oct 27, 2018

解决方案:将所有已经获取的评论数据存在 disqusjs.page.comment 字段下面,然后每次加载一页的评论时就把所有评论全部重新渲染一遍。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant