You should be able to new up the MatTableDataSource once at the class level and then use the data setter in ngOnInit .
確定! 回上一頁