You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
src\utils\http\axios\axiosCancel.ts
中,请求的取消函数是用method
和url
保存在map中的。那我发送两个url一样的post请求,但是body不一样,处理不一样。两个请求都开启取消函数。会不会存在 '一个请求使另一个请求的取消函数被调用' 的情况?
毕竟添加取消函数前要移出key,而移出key又要调用取消函数。
Beta Was this translation helpful? Give feedback.
All reactions