-
Notifications
You must be signed in to change notification settings - Fork 29
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
"新帖"列表懒加载bug #52
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"新帖"页主题列表存在bug。
环境
复现步骤
/newTopics
,用于复现bug/newTopics
,用于同步”新帖“内容getAllNewTopic
调用及其衍生请求,但列表内容无更新可能的问题源
这个if Guard完全没有考虑现实中newTopic会更新的情况。一旦在加载完所有新帖前,后端收到1个新帖,
getAllNewTopic
就迟早会拿回来重复的主题内容,this.state.from
就永远不可能达到预想的上限值。可能的解决方案
getAllNewTopic
此Util的from参数类型修改为主题帖idThe text was updated successfully, but these errors were encountered: