diff --git a/packages/abc/error-collect/error-collect.component.ts b/packages/abc/error-collect/error-collect.component.ts index fc24d4800..649903bdc 100644 --- a/packages/abc/error-collect/error-collect.component.ts +++ b/packages/abc/error-collect/error-collect.component.ts @@ -39,7 +39,7 @@ import { NzIconDirective } from 'ng-zorro-antd/icon'; changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, - imports: [NzIconDirective, NzIconDirective] + imports: [NzIconDirective] }) export class ErrorCollectComponent implements OnInit { private formEl: HTMLFormElement | null = null; diff --git a/packages/abc/footer-toolbar/footer-toolbar.component.ts b/packages/abc/footer-toolbar/footer-toolbar.component.ts index 0b9a3826c..8e93f0ae4 100644 --- a/packages/abc/footer-toolbar/footer-toolbar.component.ts +++ b/packages/abc/footer-toolbar/footer-toolbar.component.ts @@ -12,12 +12,11 @@ import { ViewEncapsulation } from '@angular/core'; +import { ErrorCollectComponent } from '@delon/abc/error-collect'; import { BooleanInput, InputBoolean } from '@delon/util/decorator'; import { NzStringTemplateOutletDirective } from 'ng-zorro-antd/core/outlet'; import type { NzSafeAny } from 'ng-zorro-antd/core/types'; -import { ErrorCollectComponent } from '../error-collect'; - const CLSBODY = 'footer-toolbar__body'; @Component({