We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using vue-barcode-reader in vue2.0.vue-barcode-reader version is 0.0.3
<StreamBarcodeReader @decode="onDecode" @loaded="onLoaded"> onDecode(decodedString) { this.$refs.audio.play() alert(decodedString); this.scanSuccess(decodedString) this.showScan = false },
I found the decode event execute twice. because the alert execute twice. If i want this event execute once. what can i do.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am using vue-barcode-reader in vue2.0.vue-barcode-reader version is 0.0.3
<StreamBarcodeReader @decode="onDecode" @loaded="onLoaded">
onDecode(decodedString) {
this.$refs.audio.play()
alert(decodedString);
this.scanSuccess(decodedString)
this.showScan = false
},
I found the decode event execute twice. because the alert execute twice. If i want this event execute once. what can i do.
The text was updated successfully, but these errors were encountered: