Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们正在使用 jquery 进行 ajax 调用。大多数情况下,通话工作正常。有时相同的调用会给出 xhr status = 0、xhr.readystatus = 0 和 xhr.statusText = "error"。
"xhr":{"status":0,"statusText":"error","responseText":"","readyState":0}
这是什么意思?浏览器端或服务器端有问题吗?
谢谢
通常当 xhr.status 返回时0,这意味着没有找到网络连接。
0
您也可以得到它的几个原因: