美文网首页
用AJAX的时候出现XMLHttpRequest cannot

用AJAX的时候出现XMLHttpRequest cannot

作者: 懒豆豆柒 | 来源:发表于2017-09-26 11:00 被阅读0次

-allow-file-access-from-files

开Chrome快捷方式的属性中设置:
右击Chrome浏览器快捷方式,选择“属性”,
在“目标”中加上"-allow-file-access-from-files",注意前面有个空格,
重启Chrome浏览器便可。


相关文章

网友评论

      本文标题:用AJAX的时候出现XMLHttpRequest cannot

      本文链接:https://www.haomeiwen.com/subject/yucsextx.html