From dcb4247056504024bdb9f685776e27e45d174b67 Mon Sep 17 00:00:00 2001
From: whycq <123456>
Date: 星期一, 09 五月 2022 23:17:04 +0800
Subject: [PATCH] ##
---
pages/basics/offline.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pages/basics/offline.vue b/pages/basics/offline.vue
index 09153e0..a2bd6d2 100644
--- a/pages/basics/offline.vue
+++ b/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 = '璇烽噸鏂版壂鐮� \ 杈撳叆'
--
Gitblit v1.9.1