diff --git a/components/upload/nz-upload-btn.component.ts b/components/upload/nz-upload-btn.component.ts index 14d87db5c56..30971a2ca3d 100644 --- a/components/upload/nz-upload-btn.component.ts +++ b/components/upload/nz-upload-btn.component.ts @@ -247,7 +247,7 @@ export class NzUploadBtnComponent implements OnInit, OnChanges, OnDestroy { // endregion constructor(@Optional() private http: HttpClient, private el: ElementRef, private updateHostClassService: NzUpdateHostClassService, private cd: ChangeDetectorRef) { if (!http) { - throw new Error(`Not found 'HttpClient', You can import 'HttpClientModel' in your root module.`); + throw new Error(`Not found 'HttpClient', You can import 'HttpClientModule' in your root module.`); } }