@ -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);