Property ngOnInit does not exist on type VisibleFocusDirective

117 阅读1分钟

原因是我把Base focus Directive的OnInit函数删除了:

添加上之后问题消失:

更多Jerry的原创文章,尽在:“汪子熙”: