ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous v

在constructor中导入ChangeDetectorRef组件,经过手动控制检查机制的开始和结束angular2 import { Component, ChangeDetectorRef } from 'angular2/core' @Component({ selector: 'my-app', template: `<div>I'm {{message}} </div>`,
相关文章
相关标签/搜索