来自ngAfterViewInit的角度文档ngAfterViewInit 在Angular初始化组件的视图和子视图后响应。 在第一次ngAfterContentChecked 之后调用一次。
確定! 回上一頁