json模擬出錯
問什么我模擬json的谷歌瀏覽器時候不行,ie可以?谷歌異常是XMLHttpRequest cannot load file:///E:/jsandcsshtml/demo/remote.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
問什么我模擬json的谷歌瀏覽器時候不行,ie可以?谷歌異常是XMLHttpRequest cannot load file:///E:/jsandcsshtml/demo/remote.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
2015-05-10
舉報
2015-06-08
你一定是直接把編輯頁面用瀏覽器打開了吧;
這樣是不行的,怎么才對?
你首先要在本地部署服務,然后在用localhost/打開才行;
http://localhost:8020/Rtest/test/test.html
推薦使用Hbulider,自動部署,你直接在編輯器打開就默認為localhost打開。
2015-07-21
我是直接在瀏覽器的調試工具上看不到任何的效果怎么辦???