两个错误,一个警告
您好,
inspect 我的网页出现这三个信息,我找不到原因:
信息内容:
【警告】[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.js?version=0.0806:formatted:3753
ajax @ jquery.js?version=0.0806:formatted:3533
getinfo @ jquery.js?version=0.0806:formatted:4296
(anonymous) @ jquery.js?version=0.0806:formatted:4305
【错误】GET https://blog.shuiba.co/system/account/info 404 ()
send @ jquery.js?version=0.0806:formatted:3763
ajax @ jquery.js?version=0.0806:formatted:3533
getinfo @ jquery.js?version=0.0806:formatted:4296
(anonymous) @ jquery.js?version=0.0806:formatted:4305
【错误】Uncaught TypeError: Cannot read property 'indexOf' of null
at jquery.js?version=0.0806:formatted:4306
(anonymous) @ jquery.js?version=0.0806:formatted:4306
劳烦查看一下,谢谢~
代码是你自己写的么?
上面一行加一个 console.log(a);呢
@XX 谢谢~似乎已经修复了