angular4使用原生JS属性报错error TS2339: Property 'checked' does not exist on type 'HTMLElement'.

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_29532651/article/details/84063279

不能使用all.checked使用checked属性,要使用all['checked']。

猜你喜欢

转载自blog.csdn.net/qq_29532651/article/details/84063279