Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file' : AngularJS SPA 谷歌浏览器的设置

On Windows:

"...chrome.exe" --allow-file-access-from-files
or

"...chrome.exe" --allow-file-access-from-files --disable-web-security
On Mac:

open /Applications/Google\ Chrome.app/ --args --allow-file-access-from-files

详细链接:http://stackoverflow.com/questions/28922881/error-failed-to-execute-send-on-xmlhttprequest-failed-to-load-file-ang

posted @ 2015-09-15 15:35  吉吉蟹  阅读(1265)  评论(0编辑  收藏  举报