官网https://angular.cn/guide/lifecycle-hooks
constructorngInit//视图加载完后触发//当 Angular 初始化完组件视图及其子视图之后调用。第一次 ngAfterContentChecked() 之后调用,只调用一次。ngAfterViewInit//在 Angular 销毁指令/组件之前调用。ngOnDestory m
官网https://angular.cn/guide/lifecycle-hooks
constructorngInit//视图加载完后触发//当 Angular 初始化完组件视图及其子视图之后调用。第一次 ngAfterContentChecked() 之后调用,只调用一次。ngAfterViewInit//在 Angular 销毁指令/组件之前调用。ngOnDestory m
让时间为你证明