你可以考虑删除 @ViewChild('form') form; 代码和 ngAfterViewInit 逻辑,只是添加一个事件 formChanged 到html元素,如 <div *ngIf="user$ | async"> ...
確定! 回上一頁