失败请求等待的逻辑需要修正 #1
載入中…
x
新增問題並參考
Block a user
No description provided.
刪除分支「%!s()」
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
错误在于当该请求出现错误并等待重试的时候,若等待队列中已经有等待请求,不应该return空,而是应该返回一个在重试函数被执行并得到结果的时候resolve(结果)的Promise
完成了较为简单的逻辑处理,以后可以实现一些重试的组件按钮 #3