shish 3 سال پیش
والد
کامیت
8f0a96b65c
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      hdPad/src/pages/home/components/nav.vue

+ 2 - 0
hdPad/src/pages/home/components/nav.vue

@@ -53,7 +53,9 @@ export default {
     // #endif
   },
   destroyed(){
+    // #ifdef APP-PLUS
     plus.globalEvent.removeEventListener('onUsbBarcode',false)
+    // #endif
   },
   methods: {
     onUsbBarcode(e){