shish hace 1 año
padre
commit
79f9c1090f

+ 3 - 1
hdPad/src/pages/home/components/console.vue

@@ -156,9 +156,11 @@ export default {
 			this.globalHasHand = 1
 		}
 
+		this.listenScanItem()
+
 	},
 	mounted(){
-		this.listenScanItem()
+
 	},
 	destroyed(){
 	},

+ 3 - 0
hdPad/src/pages/home/components/rightItem.vue

@@ -61,6 +61,9 @@ export default {
         if(id>0){
             this.globalGetRightItem(id)
         }
+    },
+	created(){
+		this.listenScanItem()
     },
     watch:{
         customId:{