ypeError:在新的AnimationTrigger中无法读取未定义的属性'forEach'(browser.es5.js:2421)

时间:2017-11-05 02:19:05

标签: angular

我在运行简单的角度动画演示时遇到以下错误

AppComponent_Host.html:1 错误TypeError:无法读取未定义的属性'forEach'     在新的AnimationTrigger(browser.es5.js:2421)     在buildTrigger(browser.es5.js:2405)     at InjectableAnimationEngine.webpackJsonp ... / .. / .. / animations/@angular/animations/browser.es5.js.AnimationEngine.registerTrigger(server.es5.js:4446)     在animations.es5.js:248     在Array.forEach()     在AnimationRendererFactory.webpackJsonp ... / .. / ../ platform-b​​rowser/@angular/platform-b​​rowser/animations.es5.js.AnimationRendererFactory.createRenderer(animations.es5.js:248)     在DebugRendererFactory2.webpackJsonp ... / .. / .. / core/@angular/core.es5.js.DebugRendererFactory2.createRenderer(core.es5.js:13499)     在createComponentView(core.es5.js:12099)     at callWithDebugContext(core.es5.js:13467)     在Object.debugCreateComponentView [as createComponentView](core.es5.js:12811)

0 个答案:

没有答案