我的 角度4 中的应用程序崩溃 IE11 就在应用程序加载时。
以下是我得到的错误:
下面是IE调试器中的异常链接:
你知道为什么会这样吗?
IE版本: 11.0.9600.19003
角度版本: 4.3.6
因为IE不支持“For_of”
去polyfill。ts
取消注释下面的所有“导入”行 /** IE9, IE10 and IE11 requires all of the following polyfills. **/ 和 /** IE10 and IE11 ....*/
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
/** IE10 and IE11 ....*/
npm install --save classlist.js npm install --save web-animations-js
参考号: Angular and Internet Explorer