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

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

@@ -39,8 +39,7 @@ export default {
 		getScan(item){
       let hasScanCode = uni.getStorageSync('hasScanCode')
       let val = item.key || ''
-      let code = item.code || ''
-      if(!this.$util.isEmpty(val) && code != 'Minus' && val != 'Unidentified'){
+      if(!this.$util.isEmpty(val) && val != 'Unidentified'){
         if(val != 'Enter'){
           uni.setStorageSync('hasScanCode', hasScanCode+val)
         }