我的Internet Explorer存在问题。我在AngularJS中做了一个简单的应用程序,在Mozilla中一切工作文件,但在IE中我有这样的问题:
Error: Access is denied.
at Anonymous function (file:[path]/angular%20app%20view%202/resources/angular.js:9766:7)
at sendReq (file:[path]/angular%20app%20view%202/resources/angular.js:9628:9)
at serverRequest (file:[path]/angular%20app%20view%202/resources/angular.js:9344:9)
at processQueue (file:[path]/angular%20app%20view%202/resources/angular.js:13189:11)
at Anonymous function (file:[path]/angular%20app%20view%202/resources/angular.js:13205:27)
at Scope.prototype.$eval (file:[path]/GDP
我的HTML:
<html>
<head>
<script src="resources/angular.js"></script>
<link rel="stylesheet" href="resources/css/style.css" />
<link rel="stylesheet" href="resources/css/bootstrap/bootstrap.min.css" />
<script src="js/script.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body ng-app [...]
angular.js文件:
function createXhr() {
return new window.XMLHttpRequest();
}
[...]
line 9766 -> xhr.open(method, url, true);
我从文件本地打开我的网站。
任何人都可以帮助我吗? 谢谢!