RxJS v6+ import { from } from 'rxjs'; import { first } from 'rxjs/operators'; const source = from([1, 2, 3, 4, 5]); // 没有参数则发出第一个值 const example ...
確定! 回上一頁