它多次調用ngOnChanges。 ... @Input() categoryId: number; ngOnChanges(changes: SimpleChanges) { let chg = changes['categoryId']; ...
確定! 回上一頁