当前位置:网站首页>Solve the problem of data disorder caused by slow asynchronous interface
Solve the problem of data disorder caused by slow asynchronous interface
2022-07-04 21:42:00 【Grumpy plums are rotten Online】
bug Scene: the repetition
Filter the table data through the drop-down box
Quick screening or after the first screening , Switch the drop-down box immediately before the data returns The filtering results and filtering keywords do not match
Check the back-end interface The returned data is correct Basically, it can be judged that the problem is the slow interface request
Because the data returned by the server in the previous request is relatively slow , Not waiting for the first request to return results , The last request was initiated , And quickly returned the results , At this time, the table must show the result of the next time ;
After a few seconds , The result of the first request is returned , At this time, the data of the table is overwritten by the result of the first request This leads to the mismatch between the filtering results and the filtering keywords
And it eventually led to this bug
The most intuitive solution is to launch a second request , If the first request does not return , Just cancel the request , Use the return result of the second request .
边栏推荐
- 杰理之AD 系列 MIDI 功能说明【篇】
- 刘锦程荣获2022年度中国电商行业创新人物奖
- [buuctf.reverse] 151_[FlareOn6]DnsChess
- How was MP3 born?
- [public class preview]: basis and practice of video quality evaluation
- Maya lamp modeling
- Compréhension approfondie du symbole [langue C]
- 杰理之AD 系列 MIDI 功能说明【篇】
- [C language] deep understanding of symbols
- 超详细教程,一文入门Istio架构原理及实战应用
猜你喜欢
Huawei ENSP simulator realizes communication security (switch)
OMS系统实战的三两事
WGCNA分析基本教程总结
[wechat applet] collaborative work and release
At the right time, the Guangzhou station of the city chain science and Technology Strategy Summit was successfully held
Three or two things about the actual combat of OMS system
Stealing others' vulnerability reports and selling them into sidelines, and the vulnerability reward platform gives rise to "insiders"
Billions of citizens' information has been leaked! Is there any "rescue" for data security on the public cloud?
IIC (STM32)
LambdaQueryWrapper用法
随机推荐
如何使用ConcurrentLinkedQueue做一个缓存队列
How was MP3 born?
杰理之AD 系列 MIDI 功能说明【篇】
Go语言循环语句(第10课中3)
Learning breakout 3 - about energy
Jerry added the process of turning off the touch module before turning it off [chapter]
改善机器视觉系统的方法
Super detailed tutorial, an introduction to istio Architecture Principle and practical application
The video sound of station B is very low - solution
OMS系统实战的三两事
Methods of improving machine vision system
Stealing others' vulnerability reports and selling them into sidelines, and the vulnerability reward platform gives rise to "insiders"
Delphi soap WebService server-side multiple soapdatamodules implement the same interface method, interface inheritance
Kubedm initialization error: [error cri]: container runtime is not running
WGCNA analysis basic tutorial summary
奋斗正当时,城链科技战略峰会广州站圆满召开
[wechat applet] collaborative work and release
Cadeus has never stopped innovating. Decentralized edge rendering technology makes the metauniverse no longer far away
Rotary transformer string judgment
redis RDB AOF