angular5.x取消订阅

let sub2 = this.Service.show(FormData).subscribe((res: any) => {
// this.matching(res);
sub2.unsubscribe();
});
posted @ 2019-01-15 16:44  前端小厨-美食博主  阅读(442)  评论(0编辑  收藏  举报