Skip to content

Commit 8381a10

Browse files
committed
update vue3 sample to adapt to DBR JS 9.0.0
1 parent a2763f1 commit 8381a10

5 files changed

Lines changed: 177 additions & 27 deletions

File tree

1.hello-world/6.read-video-vue3/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"dependencies": {
1111
"core-js": "^3.6.5",
1212
"dynamsoft-javascript-barcode": "8.8.7",
13+
"keillion-dynamsoft-javascript-barcode": "0.20220318174621.0",
1314
"vue": "^3.0.0"
1415
},
1516
"devDependencies": {

1.hello-world/6.read-video-vue3/src/components/HelloWorld.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<script>
1616
import "../dbr"; // import side effects. The license, engineResourcePath, so on.
17-
import { BarcodeScanner } from 'dynamsoft-javascript-barcode'
17+
import { BarcodeScanner } from 'keillion-dynamsoft-javascript-barcode'
1818
import VideoDecode from "./VideoDecode";
1919
import ImgDecode from './ImgDecode'
2020
import { ref, onMounted } from "vue";
@@ -64,7 +64,7 @@ button {
6464
margin: 2vmin auto;
6565
text-align: center;
6666
font-size: medium;
67-
height: 40vh;
67+
/* height: 40vh; */
6868
width: 80vw;
6969
}
7070
.applogo {

1.hello-world/6.read-video-vue3/src/components/ImgDecode.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<script>
66
import { onBeforeUnmount, ref } from "vue";
7-
import { BarcodeReader } from 'dynamsoft-javascript-barcode'
7+
import { BarcodeReader } from 'keillion-dynamsoft-javascript-barcode'
88
99
export default {
1010
setup() {

0 commit comments

Comments
 (0)