diff --git a/components/table/src/table/table-inner-scroll.component.ts b/components/table/src/table/table-inner-scroll.component.ts index ba1a5f0b5a1..aa3c4e5a0e8 100644 --- a/components/table/src/table/table-inner-scroll.component.ts +++ b/components/table/src/table/table-inner-scroll.component.ts @@ -24,7 +24,7 @@ import { import { NzResizeService } from 'ng-zorro-antd/core/services'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { fromEvent, merge, Subject } from 'rxjs'; -import { delay, filter, startWith, takeUntil } from 'rxjs/operators'; +import { delay, filter, startWith, switchMap, takeUntil } from 'rxjs/operators'; import { NzTableData } from '../table.types'; @Component({ @@ -32,8 +32,8 @@ import { NzTableData } from '../table.types'; changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: ` -