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>`,
相關文章
相關標籤/搜索