TypeError Cannot read property ‘nativeElement’ of undefined
添加*ngIf,报TypeError Cannot read property ‘nativeElement’ of undefined错误。
把static状态true改为false就可以了。
TypeError Cannot read property ‘nativeElement’ of undefined
添加*ngIf,报TypeError Cannot read property ‘nativeElement’ of undefined错误。
把static状态true改为false就可以了。