Angular TypeError:无法读取属性';已附上';未定义的
当我将角度7更新为10时,出现了这个错误。有人帮我吗Angular TypeError:无法读取属性';已附上';未定义的,angular,Angular,当我将角度7更新为10时,出现了这个错误。有人帮我吗 TypeError: Cannot read property 'hasAttached' of undefined at MatDialogContainer.attachComponentPortal (dialog.js:184) at MatDialog._attachDialogContent (dialog.js:793) at MatDialog.open (dialog.js:671)
TypeError: Cannot read property 'hasAttached' of undefined
at MatDialogContainer.attachComponentPortal (dialog.js:184)
at MatDialog._attachDialogContent (dialog.js:793)
at MatDialog.open (dialog.js:671)