ajax 在谷歌 交互报错信息处理

ajax 在谷歌 交互报错信息处理
提示以下错误:The ‘Access-Control-Allow-Origin’ header has a value ‘null’ that is not equal to the supplied origin. Origin ‘null’ is therefore not allowed access.
原因是因为 谷歌浏览器不支持ajax 需要在谷歌浏览器设置一下
谷歌快捷方式=》属性=》目标=》–test-type --disable-web-security 把这个放在目标的最后 注意前面有个空格=》应用=》确定

猜你喜欢

转载自blog.csdn.net/weixin_43860807/article/details/88825747