angular5.x取消订阅

let sub2 = this.Service.show(FormData).subscribe((res: any) => {
// this.matching(res);
sub2.unsubscribe();
});

猜你喜欢

转载自www.cnblogs.com/aisiqi-love/p/10272797.html