diff --git a/README.md b/README.md
index ab6dc0b..d1848fc 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,7 @@ A angular component to generate QR codes for rendering to the DOM.
## Introduction
Support canvas and svg two formats
+
Support adding QR code logo
Angular version >= 14
@@ -45,14 +46,14 @@ import { QrcodeModule } from 'qrcode-angular';
## API
| prop | type | default value | note |
-| ------------ | --------------------------------- | --------------------------------- |---------------------------|
+| ------------ | --------------------------------- |-----------------------------------|---------------------------|
| `mode` | `'canvas'|'svg'` | `'canvas'` | output mode |
| `value` | `string` | - | scanned link |
| `color` | `{ dark: string, light: string }` | `{ dark: '#000', light: '#fff' }` | QR code Color |
| `size` | `number` | `160` | QR code Size |
| `icon` | `string` | - | QR code include logo url |
| `iconSize` | `number` | `40` | QR code include logo size |
-| `errorLevel` | `'L'|'M'|'Q'|'H'` | `H` | Error Code Level |
+| `errorLevel` | `'L'|'M'|'Q'|'H'` | `M` | Error Code Level |
## Notice
diff --git a/projects/qrcode-angular/README.md b/projects/qrcode-angular/README.md
index f5df9fb..eb442a6 100644
--- a/projects/qrcode-angular/README.md
+++ b/projects/qrcode-angular/README.md
@@ -5,6 +5,7 @@ A angular component to generate QR codes for rendering to the DOM.
## Introduction
Support canvas and svg two formats
+
Support adding QR code logo
Angular version >= 14
@@ -45,14 +46,14 @@ import { QrcodeModule } from 'qrcode-angular';
## API
| prop | type | default value | note |
-| ------------ | --------------------------------- | --------------------------------- |---------------------------|
+| ------------ | --------------------------------- |-----------------------------------|---------------------------|
| `mode` | `'canvas'|'svg'` | `'canvas'` | output mode |
| `value` | `string` | - | scanned link |
| `color` | `{ dark: string, light: string }` | `{ dark: '#000', light: '#fff' }` | QR code Color |
| `size` | `number` | `160` | QR code Size |
| `icon` | `string` | - | QR code include logo url |
| `iconSize` | `number` | `40` | QR code include logo size |
-| `errorLevel` | `'L'|'M'|'Q'|'H'` | `H` | Error Code Level |
+| `errorLevel` | `'L'|'M'|'Q'|'H'` | `M` | Error Code Level |
## Notice
diff --git a/projects/qrcode-angular/src/lib/qrcode.component.ts b/projects/qrcode-angular/src/lib/qrcode.component.ts
index 9498d96..d370891 100644
--- a/projects/qrcode-angular/src/lib/qrcode.component.ts
+++ b/projects/qrcode-angular/src/lib/qrcode.component.ts
@@ -10,7 +10,7 @@ import {
ViewChild
} from '@angular/core';
-import { drawCanvas, plotQrCodeData, toSvgString } from './qrcode';
+import { drawCanvas, ERROR_LEVEL_MAP, plotQrCodeData, toSvgString } from './qrcode';
@Component({
selector: 'qrcode',
template: `
@@ -30,7 +30,7 @@ import { drawCanvas, plotQrCodeData, toSvgString } from './qrcode';