From 490b0fd564b0b35b8d13439e01f703f29380183f Mon Sep 17 00:00:00 2001 From: cipchk Date: Thu, 18 Jan 2024 14:45:45 +0800 Subject: [PATCH] fix: remove NzImageModule --- packages/abc/cell/cell.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/abc/cell/cell.component.ts b/packages/abc/cell/cell.component.ts index 2c56e8112..eec3dd19f 100644 --- a/packages/abc/cell/cell.component.ts +++ b/packages/abc/cell/cell.component.ts @@ -26,7 +26,7 @@ import { NzBadgeComponent } from 'ng-zorro-antd/badge'; import { NzCheckboxComponent } from 'ng-zorro-antd/checkbox'; import type { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzIconDirective } from 'ng-zorro-antd/icon'; -import { NzImage, NzImageModule, NzImageService } from 'ng-zorro-antd/image'; +import { NzImage, NzImageService } from 'ng-zorro-antd/image'; import { NzRadioComponent } from 'ng-zorro-antd/radio'; import { NzTagComponent } from 'ng-zorro-antd/tag'; import { NzTooltipDirective } from 'ng-zorro-antd/tooltip'; @@ -112,6 +112,7 @@ import type { CellDefaultText, CellOptions, CellTextResult, CellValue, CellWidge changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, + providers: [NzImageService], imports: [ FormsModule, NgTemplateOutlet, @@ -121,7 +122,6 @@ import type { CellDefaultText, CellOptions, CellTextResult, CellValue, CellWidge NzTagComponent, NzBadgeComponent, NzTooltipDirective, - NzImageModule, CellHostDirective ] })