我招致:
ERROR TypeError: Cannot read property 'hasOwnProperty' of undefined
at http://0.0.0.0:4200/vendor.bundle.js:34007:40
at Array.forEach (native)
at WebAnimationsPlayer.init (http://0.0.0.0:4200/vendor.bundle.js:34006:32)
at InjectableAnimationEngine.DomAnimationEngine._queuePlayer (http://0.0.0.0:4200/vendor.bundle.js:33317:16)
at InjectableAnimationEngine.DomAnimationEngine.animateTransition (http://0.0.0.0:4200/vendor.bundle.js:33232:14)
at InjectableAnimationEngine.DomAnimationEngine.setProperty (http://0.0.0.0:4200/vendor.bundle.js:33103:18)
at AnimationRenderer.setProperty (http://0.0.0.0:4200/vendor.bundle.js:66773:26)
at DebugRenderer2.setProperty (http://0.0.0.0:4200/vendor.bundle.js:13520:23)
at setElementProperty (http://0.0.0.0:4200/vendor.bundle.js:9797:19)
at checkAndUpdateElementValue (http://0.0.0.0:4200/vendor.bundle.js:9716:13)
at checkAndUpdateElementInline (http://0.0.0.0:4200/vendor.bundle.js:9650:24)
at checkAndUpdateNodeInline (http://0.0.0.0:4200/vendor.bundle.js:12341:23)
at checkAndUpdateNode (http://0.0.0.0:4200/vendor.bundle.js:12316:16)
at debugCheckAndUpdateNode (http://0.0.0.0:4200/vendor.bundle.js:12945:59)
at debugCheckRenderNodeFn (http://0.0.0.0:4200/vendor.bundle.js:12924:13)
使用@angular/animations 4.0.2 调用第二个动画后,而先前的动画仍在进行中。如果我让第一个动画完成,则不会发生上述错误。我应该如何调试这个?
这在@angular 2.0 中工作。