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

jquery xhr failed loading 错误提示

  •  
  •   superPershing · 2017 年 7 月 11 日 · 3951 次点击
    这是一个创建于 3196 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 年 7 月 11 日
    已解决,是事件原因。
    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   930 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:48 · PVG 03:48 · LAX 12:48 · JFK 15:48
    ♥ Do have faith in what you're doing.