We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RT,父评论被删除后,子评论仍然会出现在下列区域:
个人分析认为应该是因为父评论被删除后子评论没有跟着被删除,希望能修正这一点。
The text was updated successfully, but these errors were encountered:
这个是 by-design。主要原因是父评论被删除以后还是能被恢复的,因此就没有递归删除子评论。如果父评论被彻底删除以后子评论也会被彻底删除。如果你有更好的的解决方法的话欢迎提建议。
Sorry, something went wrong.
个人认为应当递归删除,反正也能恢复,避免【用户在热门评论里看到一条评论然后翻遍整个列表都找不到这个评论因为这个评论的父评论被删了】的情况出现
那样的话需要引入一个“父评论删除”的新 state,然后删除和恢复的时候都要来查这个 state。我近期没时间做这个功能,如果你有兴趣实现的话欢迎 PR。
我也没有_(:зゝ∠)_
No branches or pull requests
RT,父评论被删除后,子评论仍然会出现在下列区域:
个人分析认为应该是因为父评论被删除后子评论没有跟着被删除,希望能修正这一点。
The text was updated successfully, but these errors were encountered: