📌  相关文章
📜  core.js:6479 错误类型错误:无法读取未定义的属性(读取“名称”) - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:57.533000             🧑  作者: Mango

代码示例1
The serive.book property is undefined because it doesn't have 
an initial value. So in your service, just initialize 
the book property like the following:
book: Book = new Book();