只要執行更改檢測,就會呼叫ngDoCheck(). export class UserComponent implements OnInit,OnChanges,DoCheck { @Input('sex') sex; ...
確定! 回上一頁