Angular 2中的Tabset刷新

时间:2017-08-16 10:29:34

标签: angular typescript

我在Angular 2的tabset中设置了一组选项卡。我想在按钮点击时刷新一个特定的选项卡。该选项卡中有按钮。按钮点击用打字稿写成。

this.casesService
        .updateAddress(this.caseBook).subscribe(data => {
           this.getCaseById(); // this refreshes the entire app
        }, (error: any) => {
            this.toastr.error("Error while updating case, " + error);
        });

0 个答案:

没有答案