yanshishuju
zane 10 months ago
parent 786d678ac3
commit 877129f335

@ -1264,7 +1264,7 @@ export default {
window.addEventListener('djcl', this.handleRecCodesEvent);
}
},
unmounted() {
beforeDestroy() {
window.removeEventListener('djcl', this.handleRecCodesEvent);
},
created() {

@ -1947,10 +1947,11 @@ export default {
//
if (window.navigator.userAgent.indexOf("GLXP_PC") != -1) {
this.scanDisabled = true;
window.removeEventListener('gwsh', this.handleRecCodesEvent);
window.addEventListener('gwsh', this.handleRecCodesEvent);
}
},
unmounted() {
beforeDestroy() {
window.removeEventListener('gwsh', this.handleRecCodesEvent);
},
created() {

Loading…
Cancel
Save