diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 4f9c9f0..70c70f9 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -67,13 +67,13 @@ export class AppComponent implements AfterViewInit { } public onSelects(files: any) { - this.qrcode.loadFiles(files, 0.5).subscribe((res: ScannerQRCodeSelectedFiles[]) => { + this.qrcode.loadFiles(files, 50, 90).subscribe((res: ScannerQRCodeSelectedFiles[]) => { this.qrCodeResult = res; }); } public onSelects2(files: any) { - this.qrcode.loadFilesToScan(files, this.config, 0.5).subscribe((res: ScannerQRCodeSelectedFiles[]) => { + this.qrcode.loadFilesToScan(files, this.config, 50, 90).subscribe((res: ScannerQRCodeSelectedFiles[]) => { console.log(res); this.qrCodeResult2 = res; });