Angular 控制台中的角度组件错误:错误类型错误:无法读取属性';1';未定义的
目前我的Chrome控制台出现了这个奇怪的错误。我不知道如何解决这个问题Angular 控制台中的角度组件错误:错误类型错误:无法读取属性';1';未定义的,angular,Angular,目前我的Chrome控制台出现了这个奇怪的错误。我不知道如何解决这个问题 PractiseLayoutComponent.html:10 ERROR TypeError: Cannot read property '1' of undefined at Object.eval [as updateRenderer] (PractiseLayoutComponent.html:10) at Object.debugUpdateRenderer [as updateRenderer]
PractiseLayoutComponent.html:10 ERROR TypeError: Cannot read property '1' of undefined
at Object.eval [as updateRenderer] (PractiseLayoutComponent.html:10)
at Object.debugUpdateRenderer [as updateRenderer] (core.es5.js:13105)
at checkAndUpdateView (core.es5.js:12256)
at callViewAction (core.es5.js:12599)
at execComponentViewsAction (core.es5.js:12531)
at checkAndUpdateView (core.es5.js:12257)
at callViewAction (core.es5.js:12599)
at execComponentViewsAction (core.es5.js:12531)
at checkAndUpdateView (core.es5.js:12257)
at callWithDebugContext (core.es5.js:13467)
也许我做错了什么。不幸的是,恢复更改的成本非常高。
无论如何,我绝对应该知道如何应对这种情况。
谁能给我一些建议去哪里挖掘
终端中的
ng serve
没有错误。您应该查看第10行的PractiseLayoutComponent.html。这里可能缺少一些内容。您可以先发布相关的代码片段?