阅读背景:

如何使用changeDetection:ChangeDetectionStrategy。在angular2 OnPush

来源:互联网 

I have simple angular2 application. The application has only one component with ChangeDetectionStrategy.OnPush. The problem is the component never refresh its view. How to make the component refresh itself after data array updated? Here the code. I'm using Angular 2.0.0-rc.4.I have simple angular2 application. The applica




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: