V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
superPershing
V2EX  ›  问与答

jquery xhr failed loading 错误提示

  •  
  •   superPershing · 2017-07-11 20:54:09 +08:00 · 3720 次点击
    这是一个创建于 2645 天前的主题,其中的信息可能已经有所发展或是发生改变。

    ajax 发送 POST 请求,chrome console 的 log 显示如下错误提示

    XHR failed loading: POST "http://localhost:8000/api/v1/register".
    send @ jquery-3.2.1.js:9566
    ajax @ jquery-3.2.1.js:9173
    (anonymous) @ join.js:7
    dispatch @ jquery-3.2.1.js:5206
    elemData.handle @ jquery-3.2.1.js:5014
    

    而 join.js 第 7 行是:

    $.ajax({
    ...
    

    在 chrome 的 network 下发现请求的http://localhost:8000/api/v1/register状态是 cancel,这是为什么? 这是什么原因?

    第 1 条附言  ·  2017-07-11 22:02:11 +08:00
    已解决,是事件原因。
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2270 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:27 · PVG 08:27 · LAX 17:27 · JFK 20:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.