CORS策略阻止了从源'null‘对'file:///C:/xampp/htdocs/my%20stdeis/loction%20sec%20page.html’处的XMLHttpRequest的angular.js:12845访问:仅以下协议方案支持跨域请求: http、data、chrome、chrome-extension、https。
发布于 2019-03-15 03:29:23
您使用的协议不受支持。如错误所示,仅支持http、data、chrome、chrome-extension和https。然而,您正在尝试使用"file“。
我相信你能找到你的答案here的答案。
https://stackoverflow.com/questions/54705675
复制相似问题