Property ngOnInit does not exist on type VisibleFocusDirective 原因是我把Base focus Directive的OnInit函数删除了: Property ngOnInit does not exist on type VisibleFocusDirective 添加上之后问题消失: Property ngOnInit does not exist on type VisibleFocusDirective