Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file' : AngularJS SPA 谷歌瀏覽器的設置

On Windows:web

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

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

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

詳細連接:http://stackoverflow.com/questions/28922881/error-failed-to-execute-send-on-xmlhttprequest-failed-to-load-file-angget

相關文章
相關標籤/搜索