Skip to content

Commit 2f1fc52

Browse files
committed
refactor: add name option to each component
1 parent 8c50905 commit 2f1fc52

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/components/QrcodeCapture.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import { imageDataFromFile } from "../misc/image-data.js";
1515
import CommonAPI from "../mixins/CommonAPI.vue";
1616
1717
export default {
18+
name: "qrcode-capture",
19+
1820
mixins: [CommonAPI],
1921
2022
methods: {

src/components/QrcodeDropZone.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import { imageDataFromFile, imageDataFromUrl } from "../misc/image-data.js";
1515
import CommonAPI from "../mixins/CommonAPI.vue";
1616
1717
export default {
18+
name: "qrcode-drop-zone",
19+
1820
mixins: [CommonAPI],
1921
2022
methods: {

src/components/QrcodeStream.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ import Camera from "../misc/camera.js";
3737
import CommonAPI from "../mixins/CommonAPI.vue";
3838
3939
export default {
40+
name: "qrcode-stream",
41+
4042
mixins: [CommonAPI],
4143
4244
props: {

0 commit comments

Comments
 (0)