If 'pdf-viewer' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of thisIf 'pdf-viewer' is an Angular component and it has 'render-text' input, then verify that it is part ofIf 'pdf-viewer</em
如果我将any类型用于pdfSrc类型,我将得到Invalid parameter object: need either .data, .range or .url in the <pdf-viewerthis.pdfSrc = this.sanitizer.bypassSecurityTrustResourceUrl(url);landingpage.component.html<