import { Component, NgZone } from '@angular/core';
...
constructor(
private zone: NgZone
) {}
...
this.zone.run(() => {
this.display_number = '啊啊啊啊';
});
原地址:https://stackoverflow.com/questions/45690368/ionic-3-not-updating-view
网友评论