【发布时间】:2014-11-28 09:55:33
【问题描述】:
在我的计算机上进行本地测试:
index.hml
<!DOCTYPE html>
<html>
<head>
<!--script src="angular.js"></script-->
<script src="i18next.js"></script>
<script src="app.js"></script>
</head>
<body>
</body>
</html>
app.js
i18n.init();
i18next.js 中的第 672 行错误
xhr.send(payload);
NS_ERROR_DOM_BAD_URI:对受限 URI 的访问被拒绝
- 如何解决此错误?
- 可选:这条线有什么作用?
【问题讨论】:
-
看这里如果可以帮助你:stackoverflow.com/questions/17340482/…
-
您能详细说明您的 xhr 吗?
标签: javascript html internationalization