我正试图克服这个问题,但我不能按以下方式处理控制台错误:
core.js:6456 ERROR TypeError: Cannot read property 'doc' of undefined at
home.component.ts:22 at Array.map (<anonymous>) at
SafeSubscriber._next (home.component.ts:18) at
SafeSubscriber.__tryOrUnsub (Subscriber.js:183) at
SafeSubscriber.next (Subscriber
当我想在我的表中添加一个新行时,我将收到以下错误消息:
ERROR TypeError: Cannot read property 'Nom' of undefined
at Object.eval [as updateDirectives] (MedecinsComponent.html:43)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:36043)
at checkAndUpdateView (core.js:35055)
at callViewAction (core.js