[英]What is this warning in my console & how to get rid of this message?
在我的一个项目中,我在控制台中注意到了这条消息,但我不确定这到底意味着什么以及如何修复它。 任何线索?
它说 :
jquery-1.11.0.min.js:4 主线程上的同步 XMLHttpRequest 已被弃用,因为它会对最终用户的体验产生不利影响。 如需更多帮助,请查看https://xhr.spec.whatwg.org/.send @ jquery-1.11.0.min.js:4
moment-with-locales.js:326 弃用警告:moment 构造回退到 js 日期。 这是不鼓励的,并将在即将发布的主要版本中删除。 更多信息请参考https://github.com/moment/moment/issues/1407.printMsg @moment-with-locales.js:326
为避免 XMLHttpRequest 警告,请删除:
async: false
在您的任何 ajax 调用中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.