You should be able to do this without problems: ngOnInit() { this.refreshData(); this.interval = setInterval(() => { this.refreshData(); } ...
確定! 回上一頁