zno2

ajax 本地测试,使用Chrome 浏览器

出现问题:

 No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

解决办法:

 

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security

快捷方式,目标:追加启动参数。

 

posted on 2016-08-06 07:19  zno2  阅读(298)  评论(0编辑  收藏  举报

导航