You can use an rxjs BehaviorSubject. That will let you assign the value of the array to an observable that your components can subscribe to.
確定! 回上一頁