也許是一個愚蠢的問題,但我沒有成功地將角度網站視爲本地主機。 這是網站,我下載:https://github.com/kenyee/angularjs-cart霍我可以查看本地主機的角度網站
我只看到標題ANG得到錯誤控制檯:
"XMLHttpRequest cannot load file:///C:/Users/--name--/Dropbox/angularjs-cart-master/angularjs-cart-master/ShoppingCart/partials/store.htm. Received an invalid response. Origin 'null' is therefore not allowed access. "
感謝您的幫助!
謝謝..我按照你說的方式打開它(右鍵點擊+用瀏覽器打開),我的錯誤。我無法看到該網站... – user3944498 2014-09-02 16:05:16