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
"新帖"页主题列表存在bug。
/newTopics
getAllNewTopic
这个if Guard完全没有考虑现实中newTopic会更新的情况。一旦在加载完所有新帖前,后端收到1个新帖,getAllNewTopic就迟早会拿回来重复的主题内容,this.state.from就永远不可能达到预想的上限值。
this.state.from
getAllNewTopic 此Util的from参数类型修改为主题帖id
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"新帖"页主题列表存在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: