要给Subject 提供新值,只要调用 next(theValue) ,它会将值多播给已注册监听该Subject 的观察者们。 import { Component, OnInit } from '@angular/core' ...
確定! 回上一頁