Angular 无法读取中未定义的属性“值”

Angular 无法读取中未定义的属性“值”,angular,typescript,html-table,Angular,Typescript,Html Table,我收到一条错误消息,上面写着Error-TypeError:无法读取未定义的属性“value”。我正在使用Angular CLI、Typescript和HTML表。我检查了代码,但我不认为是打字错误造成的。有人能帮我解决这个错误吗 //typescript中的函数 updStudentnewName:string,新年:string,新闻主题:string,新闻核心:string{ this.stockService.updstudenthis.selectedStudent.id、newNa

我收到一条错误消息,上面写着Error-TypeError:无法读取未定义的属性“value”。我正在使用Angular CLI、Typescript和HTML表。我检查了代码,但我不认为是打字错误造成的。有人能帮我解决这个错误吗

//typescript中的函数 updStudentnewName:string,新年:string,新闻主题:string,新闻核心:string{ this.stockService.updstudenthis.selectedStudent.id、newName、newYear、newSemester、newScore.subscribe; } 学生:有吗{ this.updateEnable=true; this.selectedStudent=Student; } 使现代化 身份证件: 姓名: 年份: 学期: 分数: 拯救
打字错误,请改一下

UpdScore.value


哇,这真是个打字错误,请原谅我的粗心。感谢您的回答:我可以在一分钟内接受答案,当我单击“检查”按钮时,它说,请稍候,我将很快接受:
updScore.value