ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: ''. Current value: 'something'
//在子组件添加 ng-5.2.11
import { Component, ChangeDetectorRef } from '@angular/core';
constructor(private cdr: ChangeDetectorRef) { }
ngAfterViewChecked(){
this.cdr.detectChanges();
}