使用Angular2,我在IE10中收到错误 - 但与Chrome一起正常工作: “对象不支持属性或方法'导入'” at line:index.html中的System.import('app.js')请参阅下面的html代码 请帮忙
--- ----的index.html
<!doctype html>
<html>
<head>
<title>Inventory App</title>
<script src="vendor/system.js"></script>
<script src="vendor/traceur-runtime.js"></script>
<script src="vendor/angular2.dev.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<script>
System.import('app.js');
</script>
</body>
</html>
答案 0 :(得分:0)
此问题存在于0.16中,将其更新为当前的0.19。