From 541cc3770a1425990f3190a19dcfc96bc85b2634 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Mon, 28 Oct 2024 14:24:53 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=8D=AF=E5=93=81=E5=85=B3?= =?UTF-8?q?=E8=81=94=E5=85=B3=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/collect/relCode/operateRelCode.vue | 4 +++- src/views/collect/relCode/operateRelCodeSpell.vue | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/collect/relCode/operateRelCode.vue b/src/views/collect/relCode/operateRelCode.vue index 26616994..ed628110 100644 --- a/src/views/collect/relCode/operateRelCode.vue +++ b/src/views/collect/relCode/operateRelCode.vue @@ -366,8 +366,10 @@ }) .catch(() => { }); + }else { + this.$refs.inputRef.focus(); } - this.$refs.inputRef.focus(); + }, //添加条码 addCode() { diff --git a/src/views/collect/relCode/operateRelCodeSpell.vue b/src/views/collect/relCode/operateRelCodeSpell.vue index 0e19f709..cdce7dd2 100644 --- a/src/views/collect/relCode/operateRelCodeSpell.vue +++ b/src/views/collect/relCode/operateRelCodeSpell.vue @@ -378,8 +378,10 @@ }) .catch(() => { }); + }else { + this.$refs.inputRef.focus(); } - this.$refs.inputRef.focus(); + }, //添加条码 addCode() {