From ec51573a2733e7b64c81903b2953edf8786672c0 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 03 七月 2024 09:40:00 +0800 Subject: [PATCH] # --- pages/pakin/pakin.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue index 8af03fd..e185d06 100644 --- a/pages/pakin/pakin.vue +++ b/pages/pakin/pakin.vue @@ -198,7 +198,8 @@ }, // 鍟嗗搧鍏夋爣娓呯┖閲嶇疆 focuss() { - this.focus = false; + this.barcodeFocus = false; + this.matFocus = false; setTimeout(() => { this.matnr = ''; this.matFocus = true; @@ -312,6 +313,7 @@ if (add) { this.dataList.unshift(mat) } + this.$forceUpdate() // 寮哄埗鍒锋柊 }, // 淇敼鎵瑰彿 revise(item, i) { -- Gitblit v1.9.1