Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngular TypeError “remove”TypeError 无法获取未定义或 null 引用的属性“remove” #129

Open
deepthan opened this issue Feb 22, 2021 · 0 comments

Comments

@deepthan
Copy link
Owner

IE报错 ngular TypeError “remove”TypeError: 无法获取未定义或 null 引用的属性“remove”

angular TypeError “remove”TypeError: 无法获取未定义或 null 引用的属性“remove”     
at DefaultDomRenderer2.prototype.removeClass(http://localhost:4100/vendor.js:102963:67)   
at BaseAnimationRenderer.prototype.removeClass(http://localhost:4100/vendor.js:101543:69)     
at DebugRenderer2.prototype.removeClass (http://localhost:4100/vendor.js:93720:5)  
at NzIconDirective.prototype.handleSpin (http://localhost:4100/vendor.js:191432:9) at Anonymous function (http://localhost:4100/vendor.js:191385:13)   at  
ZoneDelegate.prototype.invoke (http://localhost:4100/polyfills.js:3395:13)   at onInvoke (http://localhost:4100/vendor.js:89536:13)     
at ZoneDelegate.prototype.invoke (http://localhost:4100/polyfills.js:3395:13)   at Zone.prototype.run (http://localhost:4100/polyfills.js:3155:17)     
at Anonymous function (http://localhost:4100/polyfills.js:3915:17)

这是由于ngx-echart导致的报错,在polyfills文件中加入如下代码即可。

import 'core-js/es7/array';

import 'classlist.js'; // Run npm install --save classlist.js.

ngx-echart Support for IE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant