From 5324bce4a28a4fda9cf3434c58f14fbe8a8a8bdf Mon Sep 17 00:00:00 2001 From: Wendell Date: Mon, 2 Sep 2019 09:45:58 +0800 Subject: [PATCH] fix(module:tabs): fix selected index not updated --- components/tabs/nz-tabset.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/components/tabs/nz-tabset.component.ts b/components/tabs/nz-tabset.component.ts index 07431d0b637..e7d4996d4c6 100644 --- a/components/tabs/nz-tabset.component.ts +++ b/components/tabs/nz-tabset.component.ts @@ -316,6 +316,7 @@ export class NzTabSetComponent ) .subscribe(() => { this.updateRouterActive(); + this.cdr.markForCheck(); }); } }