RxJS v6+ import { throwError } from 'rxjs'; // 在订阅上使用指定值来发出错误 const source = throwError('This is an error!'); // 输出: 'Error: This is an ...
確定! 回上一頁