pages/basics/offline.vue
@@ -135,6 +135,7 @@ return { barcode: '', barcodeFocus:true, focus:false, matList:[{barcode:'92992929292'}], matNo:'', mat:null, @@ -150,7 +151,7 @@ msgType: 'success', messageText: '这是一条成功提示', focus:false } }, mounted(){ @@ -296,7 +297,10 @@ that.addMatList(that.mat) that.initAnfme() that.matNo = '', console.log(that.focus) that.focus = false; that.$nextTick(function() { that.focus = true; }); } else { that.messageToggle('warn') that.messageText = '请重新扫码 \ 输入'