From ef0228521d32175aced4d30ee50428d183dc5ffc Mon Sep 17 00:00:00 2001 From: DaiDH <40824445+id1945@users.noreply.github.com> Date: Sat, 28 Oct 2023 00:21:51 +0700 Subject: [PATCH] Update app.component.ts --- src/app/app.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 7a1d48c..c531e13 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -65,13 +65,13 @@ export class AppComponent implements AfterViewInit { } public onSelects(files: any) { - this.qrcode.loadFiles(files).subscribe((res: ScannerQRCodeSelectedFiles[]) => { + this.qrcode.loadFiles(files, 30, 30).subscribe((res: ScannerQRCodeSelectedFiles[]) => { this.qrCodeResult = res; }); } public onSelects2(files: any) { - this.qrcode.loadFilesToScan(files, this.config).subscribe((res: ScannerQRCodeSelectedFiles[]) => { + this.qrcode.loadFilesToScan(files, this.config, 30, 30).subscribe((res: ScannerQRCodeSelectedFiles[]) => { console.log(res); this.qrCodeResult2 = res; });