Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215

Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215
Angular 2/4 组件生命周期 – 扎老铁
Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215

Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215
Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215
class="post-52868 post type-post status-publish format-standard hentry">

Angular 2/4 组件生命周期

接口
* OnInit
* OnDestroy
* DoCheck
* OnChanges
* AfterContentInit
* AfterContentChecked
* AfterViewInit
* AfterViewChecked
函数名
* ngOnChanges – 当输入/输出绑定的值改变时调用
* ngOnInit – 在第一次 ngOnChanges 后调用
* ngDoCheck – 自定义的方法,检测和处理值的改变
* ngAfterContentInit – 在组件内容初始化之后调用
* ngAfterContentChecked – 组件每次检查内容时调用
* ngAfterViewInit – 组件相应的视图初始化之后调用
* ngAfterViewChecked – 组件每次检查视图时调用
* ngOnDestroy – 指令销毁前调用。

发表评论

电子邮件地址不会被公开。